diff --git a/tests/FunctionCallTest.php b/tests/FunctionCallTest.php index 3c634dc21..d10530d9b 100644 --- a/tests/FunctionCallTest.php +++ b/tests/FunctionCallTest.php @@ -122,7 +122,7 @@ class FunctionCallTest extends TestCase 'noRedundantConditionAfterMixedOrEmptyArrayCountCheck' => [ 'FooArray = new Foo(function(string $s): array { - /** @psalm-suppress MixedAssignment */ $json = \json_decode($s, true); if (! \is_array($json)) { return []; } + /** @var array */ return $json; });