Skip to content

Commit 5a3374f

Browse files
authored
Always show application (#1745)
1 parent d21e8de commit 5a3374f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/LaravelDebugbar.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ function () use ($startTime) {
206206
);
207207
}
208208

209+
$this->startMeasure('application', 'Application', 'time');
210+
209211
if ($events) {
210212
$events->listen(\Illuminate\Routing\Events\Routing::class, function() {
211213
$this->startMeasure('Routing');
@@ -220,8 +222,6 @@ function () use ($startTime) {
220222
$events->listen(\Illuminate\Routing\Events\ResponsePrepared::class, function() {
221223
$this->stopMeasure('Preparing Response');
222224
});
223-
} else {
224-
$this->startMeasure('application', 'Application', 'time');
225225
}
226226
}
227227

0 commit comments

Comments
 (0)