We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55f2727 commit 952441cCopy full SHA for 952441c
tests/PHPStan/Analyser/nsrt/bug-11547.php
@@ -45,7 +45,7 @@ function validPatternWithEmptyResult(string $s, array $arr) {
45
assertType('string|null', $r);
46
47
$r = preg_replace('/(\D+)*[12]/', 'x', $arr);
48
- assertType('array', $r);
+ assertType('array<string>', $r);
49
}
50
51
0 commit comments