mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
Don’t emit another error if we’re already ignoring TypeCoercion
This commit is contained in:
parent
bf76843d94
commit
380ae61b3c
@ -1337,7 +1337,7 @@ class CallChecker
|
||||
}
|
||||
}
|
||||
|
||||
if (!$type_match_found) {
|
||||
if (!$type_match_found && !$coerced_type) {
|
||||
if ($scalar_type_match_found) {
|
||||
if ($cased_method_id !== 'echo') {
|
||||
if (IssueBuffer::accepts(
|
||||
|
Loading…
x
Reference in New Issue
Block a user