We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88c0d39 commit 46a9e5bCopy full SHA for 46a9e5b
1 file changed
tests/PHPStan/Analyser/nsrt/bug-14108b.php
@@ -48,5 +48,5 @@ function test(Foo|Bar $fooOrBar): void
48
49
$fooOrBar->narrowGetParam();
50
51
- assertType('int|string|null', $fooOrBar->getParam());
+ assertType('int|string|null', $fooOrBar->getParam()); // could be 'int|string'
52
}
0 commit comments