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 8be900f commit 4a6f1f2Copy full SHA for 4a6f1f2
src/Illuminate/Foundation/PackageManifest.php
@@ -119,9 +119,7 @@ public function build()
119
$this->write(collect($packages)->mapWithKeys(function ($package) {
120
return [$this->format($package['name']) => $package['extra']['laravel'] ?? []];
121
})->each(function ($configuration) use (&$ignore) {
122
- if ($configuration['dont-discover'] ?? false) {
123
- $ignore += $configuration['dont-discover'];
124
- }
+ $ignore += $configuration['dont-discover'] ?? [];
125
})->reject(function ($configuration, $package) use ($ignore, $ignoreAll) {
126
return $ignoreAll || in_array($package, $ignore);
127
})->filter()->all());
0 commit comments