Skip to content

Commit

Permalink
Use singleton instead of share
Browse files Browse the repository at this point in the history
Fixes #581
  • Loading branch information
barryvdh authored Jan 5, 2017
1 parent 52b6bee commit 65b0465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function register()

$this->app->alias('debugbar', 'Barryvdh\Debugbar\LaravelDebugbar');

$this->app['command.debugbar.clear'] = $this->app->share(
$this->app->singleton('command.debugbar.clear',
function ($app) {
return new Console\ClearCommand($app['debugbar']);
}
Expand Down

0 comments on commit 65b0465

Please sign in to comment.