From cc3df7d6be4fa75e5a4a8a6974a5b6be37e06ac2 Mon Sep 17 00:00:00 2001 From: Matthew Brown Date: Wed, 18 Dec 2019 23:50:57 +0000 Subject: [PATCH] Remove errant comma --- .../Expression/Assignment/ArrayAssignmentAnalyzer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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([