Skip to content

Commit 952441c

Browse files
Update test
1 parent 55f2727 commit 952441c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function validPatternWithEmptyResult(string $s, array $arr) {
4545
assertType('string|null', $r);
4646

4747
$r = preg_replace('/(\D+)*[12]/', 'x', $arr);
48-
assertType('array', $r);
48+
assertType('array<string>', $r);
4949
}
5050

5151

0 commit comments

Comments
 (0)