Skip to content

Commit

Permalink
Merge pull request #6185 from orklah/typo
Browse files Browse the repository at this point in the history
fix wrong wording from #6083
  • Loading branch information
weirdan authored Jul 26, 2021
2 parents 358f83d + 2259113 commit 4d99fbc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
),
Expand All @@ -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
),
Expand Down

0 comments on commit 4d99fbc

Please sign in to comment.