Skip to content

Commit

Permalink
Fix trailing commas for PHP 7.
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrolGenhald committed Feb 24, 2022
1 parent 5f9a8c9 commit 9d185a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Psalm/Internal/Analyzer/AttributesAnalyzer.php
Expand Up @@ -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;
Expand All @@ -106,7 +106,7 @@ public static function analyze(
. self::TARGET_DESCRIPTIONS[$target],
$attribute_storage->name_location
),
$suppressed_issues,
$suppressed_issues
);
}

Expand Down

0 comments on commit 9d185a2

Please sign in to comment.