1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Fix erroneous error message

This commit is contained in:
Matt Brown 2017-02-27 10:53:32 -05:00
parent 7baf942eaa
commit ac1a45f129

View File

@ -1713,7 +1713,7 @@ class CallChecker
if ($input_type->isNull()) {
if (IssueBuffer::accepts(
new NullArgument(
'Argument ' . ($argument_offset + 1) . $method_identifier . ' cannot be null, possibly ' .
'Argument ' . ($argument_offset + 1) . $method_identifier . ' cannot be null, ' .
'null value provided',
$code_location
),