mirror of
https://github.com/danog/psalm.git
synced 2024-11-27 04:45:20 +01:00
minor: typo in message (#3960)
This commit is contained in:
parent
04b6dfdc5b
commit
3a1c861c43
@ -36,7 +36,7 @@ class MethodCallPurityAnalyzer
|
||||
) {
|
||||
if (IssueBuffer::accepts(
|
||||
new ImpureMethodCall(
|
||||
'Cannot call an mutation-free method '
|
||||
'Cannot call a non-mutation-free method '
|
||||
. $cased_method_id . ' from a pure context',
|
||||
new CodeLocation($statements_analyzer, $stmt->name)
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user