Passed
Push — master ( e0aeab...66a286 )
by Aleksandr
02:32
created
src/RequestLoggerServiceProvider.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      */
53 53
     protected function registerLogger()
54 54
     {
55
-        $this->app->bind('app.request.logger', function () {
55
+        $this->app->bind('app.request.logger', function() {
56 56
             $logger = new Logger('request-logger');
57 57
 
58 58
             $handler = new RotatingFileHandler(
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
             return $logger;
71 71
         });
72 72
 
73
-        $this->app->bind(RequestLogger::class, function (Application $app) {
73
+        $this->app->bind(RequestLogger::class, function(Application $app) {
74 74
             return new RequestLogger(
75 75
                 $app->make('app.request.logger'),
76 76
                 $app->make(LogContextFormatter::class)
@@ -83,11 +83,11 @@  discard block
 block discarded – undo
83 83
      */
84 84
     protected function registerAppBenchmarkFormatter()
85 85
     {
86
-        $this->app->singleton('app.services.benchmark.application', function () {
86
+        $this->app->singleton('app.services.benchmark.application', function() {
87 87
             return new BenchmarkService('application');
88 88
         });
89 89
 
90
-        $this->app->bind(ResponseBenchmarkFormatter::class, function (Application $app) {
90
+        $this->app->bind(ResponseBenchmarkFormatter::class, function(Application $app) {
91 91
             return new ResponseBenchmarkFormatter(
92 92
                 $app->make('app.services.benchmark.application')
93 93
             );
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
      */
100 100
     protected function registerLogContextFormatter()
101 101
     {
102
-        $this->app->bind(LogContextFormatter::class, function (Application $app) {
102
+        $this->app->bind(LogContextFormatter::class, function(Application $app) {
103 103
             $contextFormatter = new LogContextFormatter();
104 104
 
105 105
             $contextFormatter->addContextFormatter($app->make(RequestIPFormatter::class));
Please login to merge, or discard this patch.