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:
parent
9f077f5aec
commit
548c9f7e65
@ -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)],
|
||||
|
Loading…
Reference in New Issue
Block a user