Skip to content

Commit 95f0dc2

Browse files
committed
Update bug-9844.php
1 parent 3f98a78 commit 95f0dc2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@ public function sayHello(string $class, string $method, string $property): void
1717
assertType('mixed', $class?->foo());
1818
assertType('mixed', $class::$method());
1919
assertType('mixed', $class->$property);
20+
assertType('mixed', $class?->$property);
2021
}
2122
}

0 commit comments

Comments
 (0)