Skip to content

Commit 4e46d4b

Browse files
committed
fix test
1 parent 98ad59c commit 4e46d4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Type/Php/data/preg_match_unchecked.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
$string = 'Hello World';
88

99
// when return value isn't checked, we may-or-may-not have matches
10-
$type = "array{0?: string, 1?: non-empty-string, 2?: 'o', 3?: 'World'}";
10+
$type = "list{0?: string, 1?: non-empty-string, 2?: 'o', 3?: 'World'}";
1111

1212
// @phpstan-ignore-next-line - use of unsafe is intentional
1313
\preg_match($pattern, $string, $matches);

0 commit comments

Comments
 (0)