Skip to content

Commit aa007c0

Browse files
committed
Update preg_match_shapes.php
1 parent ca8675d commit aa007c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/PHPStan/Analyser/nsrt/preg_match_shapes.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -760,4 +760,5 @@ function bug11604 (string $string): void {
760760
}
761761

762762
assertType("array{0: string, 1?: ''|'XX', 2?: 'YY'}", $matches);
763+
// could be array{string, '', 'YY'}|array{string, 'XX'}|array{string}
763764
}

0 commit comments

Comments
 (0)