mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 22:01:48 +01:00
Fix psalm errors
This commit is contained in:
parent
72e5709ef2
commit
2b5faaa02f
@ -446,7 +446,7 @@ class ArgumentsAnalyzer
|
||||
|
||||
// Has no sense to analyse 'input' function
|
||||
// when 'container' function has more arguments than 'input'
|
||||
if (count($container_callable_atomic->params ?? []) < count($input_first_class_callable->params)) {
|
||||
if (count($container_callable_atomic->params ?? []) < count($input_first_class_callable->params ?? [])) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user