Skip to content

Commit 14725cc

Browse files
committed
Fix again
1 parent 53b84b0 commit 14725cc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Analyser/ResultCache/ResultCacheManager.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,8 +618,9 @@ private function getComposerInstalled(): array
618618
}
619619

620620
$installed = require $filePath;
621+
$rootName = $installed['root']['name'];
621622
unset($installed['root']);
622-
unset($installed['versions']['__root__']);
623+
unset($installed['versions'][$rootName]);
623624

624625
$data[$filePath] = $installed;
625626
}

0 commit comments

Comments
 (0)