mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
Remove unused var
This commit is contained in:
parent
41b133178a
commit
653555a8cc
@ -145,13 +145,6 @@ class AssertionFinder
|
||||
$source
|
||||
);
|
||||
|
||||
/** @var PhpParser\Node\Expr\FuncCall $counted_expr */
|
||||
$var_name = ExpressionAnalyzer::getArrayVarId(
|
||||
$counted_expr->args[0]->value,
|
||||
$this_class_name,
|
||||
$source
|
||||
);
|
||||
|
||||
if ($var_name) {
|
||||
if (self::hasReconcilableNonEmptyCountEqualityCheck($conditional)) {
|
||||
$if_types[$var_name] = [['non-empty-countable']];
|
||||
|
Loading…
x
Reference in New Issue
Block a user