@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | */ |
52 | 52 | protected function registerLogger() |
53 | 53 | { |
54 | - $this->app->bind('app.request.logger', function () { |
|
54 | + $this->app->bind('app.request.logger', function() { |
|
55 | 55 | $logger = new Logger('request-logger'); |
56 | 56 | |
57 | 57 | $handler = new RotatingFileHandler( |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | return $logger; |
70 | 70 | }); |
71 | 71 | |
72 | - $this->app->bind(RequestLogger::class, function (Application $app) { |
|
72 | + $this->app->bind(RequestLogger::class, function(Application $app) { |
|
73 | 73 | return new RequestLogger( |
74 | 74 | $app->make('app.request.logger'), |
75 | 75 | $app->make(LogContextFormatter::class) |
@@ -82,11 +82,11 @@ discard block |
||
82 | 82 | */ |
83 | 83 | protected function registerAppBenchmarkFormatter() |
84 | 84 | { |
85 | - $this->app->singleton('app.services.benchmark.application', function () { |
|
85 | + $this->app->singleton('app.services.benchmark.application', function() { |
|
86 | 86 | return new BenchmarkService('application'); |
87 | 87 | }); |
88 | 88 | |
89 | - $this->app->bind(ResponseBenchmarkFormatter::class, function (Application $app) { |
|
89 | + $this->app->bind(ResponseBenchmarkFormatter::class, function(Application $app) { |
|
90 | 90 | return new ResponseBenchmarkFormatter( |
91 | 91 | $app->make('app.services.benchmark.application') |
92 | 92 | ); |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | */ |
99 | 99 | protected function registerLogContextFormatter() |
100 | 100 | { |
101 | - $this->app->bind(LogContextFormatter::class, function (Application $app) { |
|
101 | + $this->app->bind(LogContextFormatter::class, function(Application $app) { |
|
102 | 102 | $contextFormatter = new LogContextFormatter(); |
103 | 103 | |
104 | 104 | $contextFormatter->addContextFormatter($app->make(RequestMethodFormatter::class)); |