We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f98a78 commit 95f0dc2Copy full SHA for 95f0dc2
1 file changed
tests/PHPStan/Analyser/nsrt/bug-9844.php
@@ -17,5 +17,6 @@ public function sayHello(string $class, string $method, string $property): void
17
assertType('mixed', $class?->foo());
18
assertType('mixed', $class::$method());
19
assertType('mixed', $class->$property);
20
+ assertType('mixed', $class?->$property);
21
}
22
0 commit comments