From 9d185a26350482f291d20f40d2a75b7fe66d0c04 Mon Sep 17 00:00:00 2001 From: AndrolGenhald Date: Wed, 23 Feb 2022 22:28:27 -0600 Subject: [PATCH] Fix trailing commas for PHP 7. --- src/Psalm/Internal/Analyzer/AttributesAnalyzer.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Psalm/Internal/Analyzer/AttributesAnalyzer.php b/src/Psalm/Internal/Analyzer/AttributesAnalyzer.php index 38f163c1af8..f26bef56e7d 100644 --- a/src/Psalm/Internal/Analyzer/AttributesAnalyzer.php +++ b/src/Psalm/Internal/Analyzer/AttributesAnalyzer.php @@ -91,9 +91,9 @@ public static function analyze( IssueBuffer::maybeAdd( new InvalidAttribute( "Attribute {$attribute_storage->fq_class_name} is not repeatable", - $attribute_storage->location, + $attribute_storage->location ), - $suppressed_issues, + $suppressed_issues ); } $appearing_non_repeatable_attributes[$attribute_storage->fq_class_name] = true; @@ -106,7 +106,7 @@ public static function analyze( . self::TARGET_DESCRIPTIONS[$target], $attribute_storage->name_location ), - $suppressed_issues, + $suppressed_issues ); }