Passed
Push — master ( 22b536...777980 )
by mingyoung
11:27 queued 04:17
created
src/Kernel/Server.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 
56 56
         return tap(new Response(
57 57
             $this->app['encryptor']->encrypt('success'), 200, ['Content-Type' => 'application/json']
58
-        ), function ($response) {
58
+        ), function($response) {
59 59
             $this->app['logger']->debug('Response created:', ['content' => $response->getContent()]);
60 60
         });
61 61
     }
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
     public function push($handler)
73 73
     {
74 74
         if (is_string($handler)) {
75
-            $handler = function ($payload) use ($handler) {
75
+            $handler = function($payload) use ($handler) {
76 76
                 return (new $handler($this->app))->__invoke($payload);
77 77
             };
78 78
         }
Please login to merge, or discard this patch.
src/Kernel/Providers/LoggerServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      */
27 27
     public function register(Container $pimple)
28 28
     {
29
-        isset($pimple['logger']) || $pimple['logger'] = function ($app) {
29
+        isset($pimple['logger']) || $pimple['logger'] = function($app) {
30 30
             return new Logger('EasyDingTalk');
31 31
         };
32 32
     }
Please login to merge, or discard this patch.