1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Merge pull request #6185 from orklah/typo

fix wrong wording from #6083
This commit is contained in:
Bruce Weirdan 2021-07-26 23:00:42 +03:00 committed by GitHub
commit 4d99fbcce0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1125,7 +1125,7 @@ class ArgumentAnalyzer
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 @@ class ArgumentAnalyzer
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
),