mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
Add slash
This commit is contained in:
parent
e1dd22ef6c
commit
3a5bb9db9a
@ -498,7 +498,7 @@ class Reconciler
|
||||
}
|
||||
} elseif (!$existing_key_type_part instanceof Type\Atomic\ObjectLike) {
|
||||
return Type::getMixed();
|
||||
} elseif ($array_key[0] === '$' || ($array_key[0] !== '\'' && !is_numeric($array_key[0]))) {
|
||||
} elseif ($array_key[0] === '$' || ($array_key[0] !== '\'' && !\is_numeric($array_key[0]))) {
|
||||
if ($has_empty) {
|
||||
return null;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user