mirror of
https://github.com/danog/psalm.git
synced 2024-12-13 01:37:23 +01:00
remove cache after unsetting a key from a TKeyedArray
This commit is contained in:
parent
2e7763c314
commit
6ba8876153
@ -51,6 +51,7 @@ class UnsetAnalyzer
|
||||
) {
|
||||
if (isset($atomic_root_type->properties[$var->dim->value])) {
|
||||
unset($atomic_root_type->properties[$var->dim->value]);
|
||||
$root_type->bustCache(); //remove id cache
|
||||
}
|
||||
|
||||
if (!$atomic_root_type->properties) {
|
||||
|
Loading…
Reference in New Issue
Block a user