Skip to content

Commit

Permalink
fix style (#1266)
Browse files Browse the repository at this point in the history
  • Loading branch information
sevannerse authored Mar 15, 2022
1 parent 29d7d90 commit b2d3907
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ public function register()
);

$this->app->singleton(LaravelDebugbar::class, function ($app) {
$debugbar = new LaravelDebugbar($app);
$debugbar = new LaravelDebugbar($app);

if ($app->bound(SessionManager::class)) {
$sessionManager = $app->make(SessionManager::class);
$httpDriver = new SymfonyHttpDriver($sessionManager);
$debugbar->setHttpDriver($httpDriver);
}

return $debugbar;
return $debugbar;
});

$this->app->alias(LaravelDebugbar::class, 'debugbar');
Expand Down

0 comments on commit b2d3907

Please sign in to comment.