mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Fix nullref
This commit is contained in:
parent
c1ca6c27d5
commit
70d01c8138
@ -2295,7 +2295,7 @@ class StatementsChecker
|
||||
|
||||
$array_type = $array_type->types['array']->type_params[1];
|
||||
}
|
||||
else {
|
||||
elseif (!$return_type->isMixed()) {
|
||||
$array_type->types['array']->type_params[1] = $return_type->types['array']->type_params[1];
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user