Skip to content

Commit

Permalink
fix copy/paste fail
Browse files Browse the repository at this point in the history
  • Loading branch information
herndlm committed Jun 16, 2022
1 parent 0a0ffc9 commit d32640a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/PHPStan/Analyser/data/array-unshift.php
Expand Up @@ -19,7 +19,7 @@ function arrayUnshift(array $a, array $b, array $c, array $d, array $arr): void
assertType('array<int|string>', $a);

/** @var non-empty-array<string> $arr */
array_push($arr, ...$b);
array_unshift($arr, ...$b);
assertType('non-empty-array<int|string>', $arr);

array_unshift($b, ...[]);
Expand Down

0 comments on commit d32640a

Please sign in to comment.