We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 646922f commit bde29eeCopy full SHA for bde29ee
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