Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Sep 2, 2017
1 parent 8be900f commit 4a6f1f2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Illuminate/Foundation/PackageManifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,7 @@ public function build()
$this->write(collect($packages)->mapWithKeys(function ($package) {
return [$this->format($package['name']) => $package['extra']['laravel'] ?? []];
})->each(function ($configuration) use (&$ignore) {
if ($configuration['dont-discover'] ?? false) {
$ignore += $configuration['dont-discover'];
}
$ignore += $configuration['dont-discover'] ?? [];
})->reject(function ($configuration, $package) use ($ignore, $ignoreAll) {
return $ignoreAll || in_array($package, $ignore);
})->filter()->all());
Expand Down

0 comments on commit 4a6f1f2

Please sign in to comment.