mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
Fix
This commit is contained in:
parent
b9424a88cb
commit
ce06f4e0d0
@ -1544,6 +1544,9 @@ class ArrayFetchAnalyzer
|
||||
$replacement_type,
|
||||
);
|
||||
}
|
||||
$properties[0] = $properties[0]->setPossiblyUndefined(
|
||||
$replacement_type->possibly_undefined
|
||||
);
|
||||
$properties[$key_value->value] = $properties[$key_value->value]->
|
||||
setPossiblyUndefined(true)
|
||||
;
|
||||
|
Loading…
x
Reference in New Issue
Block a user