Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 58c4447

Browse files
schlndhondrejmirtes
authored andcommitted
hack 3rd arg name of array_intersect for old PHP versions
1 parent fedc8f0 commit 58c4447

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎tests/PHPStan/Rules/Functions/ParameterCastableToStringFunctionRuleTest.php‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ private function hackParameterNames(array $errors): array
345345
'$array of function natsort',
346346
'$array of function natcasesort',
347347
'$array of function array_count_values',
348+
'#3 of function array_intersect',
348349
],
349350
[
350351
'$arr1 of function array_diff',
@@ -360,6 +361,7 @@ private function hackParameterNames(array $errors): array
360361
'$array_arg of function natsort',
361362
'$array_arg of function natcasesort',
362363
'$input of function array_count_values',
364+
'#3 $args of function array_intersect',
363365
],
364366
$error[0],
365367
);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /