Skip to content

Commit

Permalink
Merge pull request #9304 from weirdan/fix-8604
Browse files Browse the repository at this point in the history
  • Loading branch information
weirdan committed Feb 15, 2023
2 parents efc389b + c28d96e commit b71a8b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Psalm/Internal/Analyzer/MethodComparator.php
Original file line number Diff line number Diff line change
Expand Up @@ -320,10 +320,10 @@ private static function checkForObviousMethodMismatches(
) {
IssueBuffer::maybeAdd(
new MissingImmutableAnnotation(
$cased_guide_method_id . ' is marked @psalm-immutable, but '
$cased_guide_method_id . ' is marked @psalm-external-mutation-free, but '
. $implementer_classlike_storage->name . '::'
. ($guide_method_storage->cased_name ?: '')
. ' is not marked @psalm-immutable',
. ' is not marked @psalm-external-mutation-free',
$code_location,
),
$suppressed_issues + $implementer_classlike_storage->suppressed_issues,
Expand Down

0 comments on commit b71a8b7

Please sign in to comment.