mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 13:51:54 +01:00
Fixed issue message for missing @psalm-external-mutation-free
Fixes vimeo/psalm#8604
This commit is contained in:
parent
efc389bfa8
commit
c28d96e25c
@ -320,10 +320,10 @@ class MethodComparator
|
||||
) {
|
||||
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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user