Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Apr 29, 2024
1 parent a184f15 commit 91ea61e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Template/ConditionalReturnTypeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ function getSomethingElse()
interface ContainerInterface
{
/**
* @template TRequestedInstance extends InstanceType
* @template TRequestedInstance of InstanceType
* @param class-string<TRequestedInstance>|string $name
* @return ($name is class-string ? TRequestedInstance : InstanceType)
*/
Expand Down

0 comments on commit 91ea61e

Please sign in to comment.