Skip to content

Commit 1b2bc46

Browse files
committed
Update bug-13272.php
1 parent 1b73f27 commit 1b2bc46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ function fooBar(object $bar, string $constUnion): void
2828
}
2929

3030
// at this point we don't know whether $constUnion was 'quux' or 'qux'
31-
assertType("object&hasMethod(quux)|hasMethod(qux)", $bar);
31+
assertType("object&hasMethod(quux)|object&hasMethod(qux)", $bar);
3232
}

0 commit comments

Comments
 (0)