From 1d4835eaec494ada4867d0d0a138ff0a6d98b4ec Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes Date: Mon, 12 Jul 2021 14:07:05 +0200 Subject: [PATCH] Fix --- .../Rules/Functions/CallToFunctionParametersRuleTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/PHPStan/Rules/Functions/CallToFunctionParametersRuleTest.php b/tests/PHPStan/Rules/Functions/CallToFunctionParametersRuleTest.php index c1202605db..c09852b378 100644 --- a/tests/PHPStan/Rules/Functions/CallToFunctionParametersRuleTest.php +++ b/tests/PHPStan/Rules/Functions/CallToFunctionParametersRuleTest.php @@ -337,7 +337,7 @@ public function testImplodeOnLessThanPhp74(): void if (PHP_VERSION_ID >= 80000) { $errors = [ [ - 'Parameter #2 $array of function implode expects array, string given.', + 'Parameter #2 $array of function implode expects array|null, string given.', 8, ], ];