1
0
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:
andrew 2023-03-27 18:37:11 +03:00
parent 72e5709ef2
commit 2b5faaa02f

View File

@ -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;
}