Skip to content

Commit 1f40e18

Browse files
committed
remove second test, as covered by static analysis
1 parent 29a73c1 commit 1f40e18

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,3 @@ function foo(object $foo): void
1414
assertType("object&hasProperty(quux)&hasProperty(qux)", $foo);
1515
}
1616
}
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

Comments
 (0)