mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Fix message
This commit is contained in:
parent
ed4f4e35b8
commit
f1a9b73a78
@ -949,7 +949,7 @@ class BinaryOpAnalyzer
|
||||
) {
|
||||
if (IssueBuffer::accepts(
|
||||
new ImpureMethodCall(
|
||||
'Cannot call an mutation-free method '
|
||||
'Cannot call a possibly-mutating method '
|
||||
. $atomic_type->value . '::__toString from a pure context',
|
||||
new CodeLocation($statements_analyzer, $stmt)
|
||||
),
|
||||
@ -979,7 +979,7 @@ class BinaryOpAnalyzer
|
||||
) {
|
||||
if (IssueBuffer::accepts(
|
||||
new ImpureMethodCall(
|
||||
'Cannot call an mutation-free method '
|
||||
'Cannot call a possibly-mutating method '
|
||||
. $atomic_type->value . '::__toString from a pure context',
|
||||
new CodeLocation($statements_analyzer, $stmt)
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user