From 8f504f9664a39bae384e835aaeba84b2945c05f4 Mon Sep 17 00:00:00 2001 From: Matthew Brown Date: Mon, 30 Dec 2019 16:42:34 -0500 Subject: [PATCH] Fix style --- .../Provider/ReturnTypeProvider/ExplodeReturnTypeProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Psalm/Internal/Provider/ReturnTypeProvider/ExplodeReturnTypeProvider.php b/src/Psalm/Internal/Provider/ReturnTypeProvider/ExplodeReturnTypeProvider.php index dab9d3220..b11889954 100644 --- a/src/Psalm/Internal/Provider/ReturnTypeProvider/ExplodeReturnTypeProvider.php +++ b/src/Psalm/Internal/Provider/ReturnTypeProvider/ExplodeReturnTypeProvider.php @@ -28,7 +28,7 @@ class ExplodeReturnTypeProvider implements \Psalm\Plugin\Hook\FunctionReturnType return Type::getMixed(); } - if (count($call_args) >= 2) { + if (\count($call_args) >= 2) { $can_return_empty = isset($call_args[2]) && ( !$call_args[2]->value instanceof PhpParser\Node\Scalar\LNumber