Skip to content

Commit

Permalink
Update preg_match_shapes_php73.php
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Jun 21, 2024
1 parent 1ccfcfe commit 71f4223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/PHPStan/Analyser/data/preg_match_shapes_php73.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ function doUnmatchedAsNull(string $s): void {
} else {
assertType('array{}', $matches);
}
assertType('array{}|array<string|null>', $matches);
assertType('array<string|null>', $matches);
}

0 comments on commit 71f4223

Please sign in to comment.