1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00
This commit is contained in:
Daniil Gentili 2022-12-19 21:29:13 +01:00
parent dc5a4576a5
commit 750e2da542

View File

@ -1552,9 +1552,6 @@ class ArrayFetchAnalyzer
$properties[$x] = $properties[$x]->setPossiblyUndefined(false);
}
}
if ($first) {
$properties[0] = $properties[0]->setPossiblyUndefined(false);
}
$properties[$key_value->value] = $properties[$key_value->value]->
setPossiblyUndefined(true)
;