1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-11 16:59:45 +01:00
This commit is contained in:
Daniil Gentili 2022-12-02 14:34:59 +01:00
parent 8aecadda83
commit dead1be566

View File

@ -1451,15 +1451,13 @@ class TypeCombiner
$allow_mixed_union $allow_mixed_union
); );
if (!$generic_type_params[1]->isMixed()) { $generic_type_params[1] = Type::combineUnionTypes(
$generic_type_params[1] = Type::combineUnionTypes( $generic_type_params[1],
$generic_type_params[1], $objectlike_generic_type,
$objectlike_generic_type, $codebase,
$codebase, $overwrite_empty_array,
$overwrite_empty_array, $allow_mixed_union
$allow_mixed_union );
);
}
} }
if ($combination->all_arrays_callable) { if ($combination->all_arrays_callable) {