Skip to content

Commit 4a6f1f2

Browse files
committed
formatting
1 parent 8be900f commit 4a6f1f2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Illuminate/Foundation/PackageManifest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,7 @@ public function build()
119119
$this->write(collect($packages)->mapWithKeys(function ($package) {
120120
return [$this->format($package['name']) => $package['extra']['laravel'] ?? []];
121121
})->each(function ($configuration) use (&$ignore) {
122-
if ($configuration['dont-discover'] ?? false) {
123-
$ignore += $configuration['dont-discover'];
124-
}
122+
$ignore += $configuration['dont-discover'] ?? [];
125123
})->reject(function ($configuration, $package) use ($ignore, $ignoreAll) {
126124
return $ignoreAll || in_array($package, $ignore);
127125
})->filter()->all());

0 commit comments

Comments
 (0)