mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
commit
4d99fbcce0
@ -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
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user