We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29a73c1 commit 1f40e18Copy full SHA for 1f40e18
tests/PHPStan/Analyser/nsrt/bug-13304.php
@@ -14,12 +14,3 @@ function foo(object $foo): void
14
assertType("object&hasProperty(quux)&hasProperty(qux)", $foo);
15
}
16
17
-
18
-function bar(object $bar): void
19
-{
20
- if (!property_exists($bar, '')) {
21
- throw new \Exception;
22
- }
23
24
- assertType("object", $bar);
25
-}
0 commit comments