Skip to content

Commit

Permalink
Removed unused parameter form anonymous function inside aliases metho…
Browse files Browse the repository at this point in the history
…d of PackageManifest class (#22191)
  • Loading branch information
khanrn authored and taylorotwell committed Nov 24, 2017
1 parent 3cfb9b9 commit 667bb02
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 @@ -77,7 +77,7 @@ public function providers()
*/
public function aliases()
{
return collect($this->getManifest())->flatMap(function ($configuration, $name) {
return collect($this->getManifest())->flatMap(function ($configuration) {
return (array) ($configuration['aliases'] ?? []);
})->filter()->all();
}
Expand Down

0 comments on commit 667bb02

Please sign in to comment.