Skip to content

Commit 65b0465

Browse files
authored
Use singleton instead of share
Fixes barryvdh#581
1 parent 52b6bee commit 65b0465

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function register()
4242

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

45-
$this->app['command.debugbar.clear'] = $this->app->share(
45+
$this->app->singleton('command.debugbar.clear',
4646
function ($app) {
4747
return new Console\ClearCommand($app['debugbar']);
4848
}

0 commit comments

Comments
 (0)