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 17, 2023
1 parent 3b4eb51 commit c60b3ae
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/Template/FunctionTemplateTest.php
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 c60b3ae

Please sign in to comment.