1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00

Remove unused var

This commit is contained in:
Brown 2020-01-24 14:09:25 -05:00
parent 9f077f5aec
commit 548c9f7e65

View File

@ -100,8 +100,6 @@ class FunctionCallAnalyzer extends \Psalm\Internal\Analyzer\Statements\Expressio
}
if ($original_function_id === 'call_user_func_array' && isset($stmt->args[1])) {
$other_args = \array_slice($stmt->args, 1);
$stmt = new PhpParser\Node\Expr\FuncCall(
$stmt->args[0]->value,
[new PhpParser\Node\Arg($stmt->args[1]->value, false, true)],