Skip to content

Commit

Permalink
Removed unused parameter form anonymous function inside providers met…
Browse files Browse the repository at this point in the history
…hod of PackageManifest class (#22190)
  • Loading branch information
khanrn authored and taylorotwell committed Nov 24, 2017
1 parent 667bb02 commit 8f31c83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Foundation/PackageManifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function __construct(Filesystem $files, $basePath, $manifestPath)
*/
public function providers()
{
return collect($this->getManifest())->flatMap(function ($configuration, $name) {
return collect($this->getManifest())->flatMap(function ($configuration) {
return (array) ($configuration['providers'] ?? []);
})->filter()->all();
}
Expand Down

0 comments on commit 8f31c83

Please sign in to comment.