Skip to content

Commit

Permalink
No need to pass as an argument. (#24743)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmichot authored and GrahamCampbell committed Jul 4, 2018
1 parent 279272a commit 8369add
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ protected function registerAppNameCommand()
*/
protected function registerAuthMakeCommand()
{
$this->app->singleton('command.auth.make', function ($app) {
$this->app->singleton('command.auth.make', function () {
return new AuthMakeCommand;
});
}
Expand Down Expand Up @@ -622,7 +622,7 @@ protected function registerObserverMakeCommand()
*/
protected function registerPackageDiscoverCommand()
{
$this->app->singleton('command.package.discover', function ($app) {
$this->app->singleton('command.package.discover', function () {
return new PackageDiscoverCommand;
});
}
Expand Down Expand Up @@ -966,7 +966,7 @@ protected function registerVendorPublishCommand()
*/
protected function registerViewCacheCommand()
{
$this->app->singleton('command.view.cache', function ($app) {
$this->app->singleton('command.view.cache', function () {
return new ViewCacheCommand;
});
}
Expand Down

0 comments on commit 8369add

Please sign in to comment.