1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00

Suppress null check

This commit is contained in:
Brown 2020-02-24 16:22:50 -05:00
parent ff7fbcda99
commit 234a6ba4b4

View File

@ -3408,6 +3408,7 @@ class CallAnalyzer
return [];
}
/** @psalm-suppress PossiblyNullPropertyFetch */
if ($callable_arg->items[0]->key || $callable_arg->items[1]->key) {
return [];
}