Skip to content

Commit

Permalink
add more tests for vimeo#9506
Browse files Browse the repository at this point in the history
  • Loading branch information
ptomulik committed Mar 13, 2023
1 parent ac97016 commit c945356
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/Template/FunctionTemplateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1659,6 +1659,20 @@ function normalizeField(mixed $value, Norm $n): void
'ignored_issues' => [],
'php_version' => '8.0',
],
'templateWithCommentAfterSimpleType' => [
'code' => '<?php
/**
* @template T of string
*
* lorem ipsumm
*
* @param T $t
*/
function foo(string $t): string
{
return $t;
}',
],
];
}

Expand Down

0 comments on commit c945356

Please sign in to comment.