From 2259113727e525bc2603e29125cb5213b20a621d Mon Sep 17 00:00:00 2001 From: orklah Date: Mon, 26 Jul 2021 21:09:12 +0200 Subject: [PATCH] fix wrong wording --- .../Analyzer/Statements/Expression/Call/ArgumentAnalyzer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Psalm/Internal/Analyzer/Statements/Expression/Call/ArgumentAnalyzer.php b/src/Psalm/Internal/Analyzer/Statements/Expression/Call/ArgumentAnalyzer.php index 7df5b2360ac..8972e2497f1 100644 --- a/src/Psalm/Internal/Analyzer/Statements/Expression/Call/ArgumentAnalyzer.php +++ b/src/Psalm/Internal/Analyzer/Statements/Expression/Call/ArgumentAnalyzer.php @@ -1125,7 +1125,7 @@ public static function verifyType( if (IssueBuffer::accepts( new InvalidArgument( 'Argument ' . ($argument_offset + 1) . $method_identifier . ' cannot be false, ' . - $param_type->getId() . ' value provided', + $param_type->getId() . ' value expected', $arg_location, $cased_method_id ), @@ -1141,7 +1141,7 @@ public static function verifyType( if (IssueBuffer::accepts( new PossiblyFalseArgument( 'Argument ' . ($argument_offset + 1) . $method_identifier . ' cannot be false, possibly ' . - $param_type->getId() . ' value provided', + $param_type->getId() . ' value expected', $arg_location, $cased_method_id ),