Skip to content

Commit

Permalink
More legacy php changes
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Jan 11, 2022
1 parent 8d288a2 commit cacac2c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Psalm/Internal/Analyzer/MethodComparator.php
Expand Up @@ -124,7 +124,9 @@ public static function compare(
&& !$implementer_method_storage->signature_return_type
&& !array_filter(
$implementer_method_storage->attributes,
fn (AttributeStorage $s) => $s->fq_class_name === 'ReturnTypeWillChange'
function (AttributeStorage $s) {
return $s->fq_class_name === 'ReturnTypeWillChange';
}
)
) {
IssueBuffer::maybeAdd(
Expand Down

0 comments on commit cacac2c

Please sign in to comment.