diff --git a/src/LaravelDebugbar.php b/src/LaravelDebugbar.php index 699fc4ee2..8e01c0281 100644 --- a/src/LaravelDebugbar.php +++ b/src/LaravelDebugbar.php @@ -131,9 +131,7 @@ public function boot() $startTime = defined('LARAVEL_START') ? LARAVEL_START : null; $this->addCollector(new TimeDataCollector($startTime)); - if ($this->isLumen()) { - $debugbar->startMeasure('application', 'Application'); - } else { + if ( ! $this->isLumen()) { $this->app->booted( function () use ($debugbar, $startTime) { if ($startTime) { @@ -142,7 +140,8 @@ function () use ($debugbar, $startTime) { } ); } - + + $debugbar->startMeasure('application', 'Application'); } if ($this->shouldCollect('memory', true)) {