Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
pmatseykanets committed Sep 5, 2017
1 parent 2155f06 commit 0ccca98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ArtisanIoServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function register()

$commands->each(function ($command, $abstract) {
$this->app->singleton($abstract, function () use ($command) {
return new $command;
return new $command();
});
});

Expand Down

0 comments on commit 0ccca98

Please sign in to comment.