From 3a1c861c43185611247bb9f745340bdea8ee3384 Mon Sep 17 00:00:00 2001 From: the-toster Date: Sat, 8 Aug 2020 15:08:57 +0300 Subject: [PATCH] minor: typo in message (#3960) --- .../Expression/Call/Method/MethodCallPurityAnalyzer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Psalm/Internal/Analyzer/Statements/Expression/Call/Method/MethodCallPurityAnalyzer.php b/src/Psalm/Internal/Analyzer/Statements/Expression/Call/Method/MethodCallPurityAnalyzer.php index 4344775761e..d5a9988e5d2 100644 --- a/src/Psalm/Internal/Analyzer/Statements/Expression/Call/Method/MethodCallPurityAnalyzer.php +++ b/src/Psalm/Internal/Analyzer/Statements/Expression/Call/Method/MethodCallPurityAnalyzer.php @@ -36,7 +36,7 @@ public static function analyze( ) { 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) ),