diff --git a/src/Psalm/Internal/Analyzer/Statements/Expression/Assignment/ArrayAssignmentAnalyzer.php b/src/Psalm/Internal/Analyzer/Statements/Expression/Assignment/ArrayAssignmentAnalyzer.php index e2e2cf060..0645e405e 100644 --- a/src/Psalm/Internal/Analyzer/Statements/Expression/Assignment/ArrayAssignmentAnalyzer.php +++ b/src/Psalm/Internal/Analyzer/Statements/Expression/Assignment/ArrayAssignmentAnalyzer.php @@ -535,7 +535,7 @@ class ArrayAssignmentAnalyzer && $parent_type->hasList() ) { $array_atomic_type = new TNonEmptyList( - $current_type, + $current_type ); } else { $array_atomic_type = new TNonEmptyArray([