1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-03 10:07:52 +01:00
This commit is contained in:
Daniil Gentili 2022-12-02 12:23:28 +01:00
parent e50b351512
commit f89a3c9665

View File

@ -1444,8 +1444,6 @@ class AssignmentAnalyzer
$temp $temp
); );
} }
$can_be_empty = !$assign_value_atomic_type->isNonEmpty();
} elseif ($assign_value_atomic_type->hasArrayAccessInterface($codebase)) { } elseif ($assign_value_atomic_type->hasArrayAccessInterface($codebase)) {
ForeachAnalyzer::getKeyValueParamsForTraversableObject( ForeachAnalyzer::getKeyValueParamsForTraversableObject(
$assign_value_atomic_type, $assign_value_atomic_type,