1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00
This commit is contained in:
Daniil Gentili 2023-12-01 17:48:47 +01:00
parent 17bf9a45a6
commit 9119ce0541

View File

@ -1124,7 +1124,10 @@ class Reconciler
return; return;
} }
} else { } else {
$array_key_offsets []= $array_key[0] === '\'' || $array_key[0] === '"' ? substr($array_key, 1, -1) : $array_key; $array_key_offsets []= $array_key[0] === '\'' || $array_key[0] === '"'
? substr($array_key, 1, -1)
: $array_key
;
} }
$base_key = implode($key_parts); $base_key = implode($key_parts);