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