mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
parent
9f00b8536a
commit
13c291c63f
@ -706,7 +706,6 @@ class ArrayAssignmentAnalyzer
|
||||
}
|
||||
} elseif ($type instanceof TNonEmptyList
|
||||
&& $key_value instanceof Type\Atomic\TLiteralInt
|
||||
&& ($key_value->value === $key_value->value || $key_value->value < $type->count)
|
||||
&& count($key_values) === 1
|
||||
) {
|
||||
$has_matching_objectlike_property = true;
|
||||
|
Loading…
Reference in New Issue
Block a user