@@ -21,7 +21,7 @@ |
||
21 | 21 | */ |
22 | 22 | public function register() |
23 | 23 | { |
24 | - $this->app->singleton(ServerTiming::class, function ($app) { |
|
24 | + $this->app->singleton(ServerTiming::class, function($app) { |
|
25 | 25 | return new ServerTiming(new \Symfony\Component\Stopwatch\Stopwatch()); |
26 | 26 | }); |
27 | 27 | } |
@@ -24,7 +24,7 @@ |
||
24 | 24 | |
25 | 25 | public function handle(Request $request, Closure $next) |
26 | 26 | { |
27 | - if(false === config('timing.enabled', true)) { |
|
27 | + if (false === config('timing.enabled', true)) { |
|
28 | 28 | return $next($request); |
29 | 29 | } |
30 | 30 |
@@ -34,7 +34,7 @@ |
||
34 | 34 | |
35 | 35 | public function measure(string $key) |
36 | 36 | { |
37 | - if (! $this->hasStartedEvent($key)) { |
|
37 | + if (!$this->hasStartedEvent($key)) { |
|
38 | 38 | return $this->start($key); |
39 | 39 | } |
40 | 40 |