1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 20:34:47 +01:00

Fix message

This commit is contained in:
Matthew Brown 2020-02-23 18:24:43 -05:00
parent ed4f4e35b8
commit f1a9b73a78

View File

@ -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)
),