We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac2e994 commit 51def2eCopy full SHA for 51def2e
src/Illuminate/Foundation/PackageManifest.php
@@ -111,7 +111,9 @@ public function build()
111
$packages = [];
112
113
if ($this->files->exists($path = $this->vendorPath.'/composer/installed.json')) {
114
- $packages = json_decode($this->files->get($path), true);
+ $installed = json_decode($this->files->get($path), true);
115
+
116
+ $packages = $installed['packages'] ?? $installed;
117
}
118
119
$ignoreAll = in_array('*', $ignore = $this->packagesToIgnore());
0 commit comments