Skip to content

Commit 00ddb87

Browse files
committed
more asserts
1 parent 366e5d4 commit 00ddb87

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/PHPStan/Analyser/nsrt/bug-9961.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ public function sayHello(Ia|Ic $a): mixed
2828
throw new \Exception;
2929
}
3030

31+
assertType('(Bug9961\A&T of T of Bug9961\Ia&Bug9961\Ib (method Bug9961\HelloWorld::sayHello(), argument) (method Bug9961\HelloWorld::sayHello(), argument))|T of Bug9961\Ic&Bug9961\Id (method Bug9961\HelloWorld::sayHello(), argument)', $a);
32+
3133
return $a;
3234
}
3335
}

0 commit comments

Comments
 (0)