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 2023-12-06 14:23:45 +01:00
parent 4ed0fe934f
commit 527b04dde6

View File

@ -1431,7 +1431,7 @@ final class TypeCombiner
} else {
$objectlike = new TKeyedArray(
$combination->objectlike_entries,
$combination->objectlike_class_string_keys,
array_filter($combination->objectlike_class_string_keys),
$sealed || $fallback_key_type === null || $fallback_value_type === null
? null
: [$fallback_key_type, $fallback_value_type],