1
0
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:
Brown 2019-02-21 17:49:33 -05:00
parent 41b133178a
commit 653555a8cc

View File

@ -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']];