Completed
Push — master ( 8e978d...0648f6 )
by mingyoung
12s
created
src/Chat/ServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     public function register(Container $pimple)
27 27
     {
28
-        $pimple['chat'] = function ($app) {
28
+        $pimple['chat'] = function($app) {
29 29
             return new Client($app);
30 30
         };
31 31
     }
Please login to merge, or discard this patch.
src/Department/ServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     public function register(Container $pimple)
27 27
     {
28
-        $pimple['department'] = function ($app) {
28
+        $pimple['department'] = function($app) {
29 29
             return new Client($app);
30 30
         };
31 31
     }
Please login to merge, or discard this patch.
src/Application.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     {
41 41
         parent::__construct($values);
42 42
 
43
-        $this['config'] = function () use ($config) {
43
+        $this['config'] = function() use ($config) {
44 44
             return new Collection($config);
45 45
         };
46 46
 
Please login to merge, or discard this patch.
src/Kernel/Http/Client.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -57,8 +57,8 @@  discard block
 block discarded – undo
57 57
             return $this;
58 58
         }
59 59
 
60
-        $middleware = function (callable $handler) {
61
-            return function (RequestInterface $request, array $options) use ($handler) {
60
+        $middleware = function(callable $handler) {
61
+            return function(RequestInterface $request, array $options) use ($handler) {
62 62
                 if ($this->app['access_token']) {
63 63
                     parse_str($request->getUri()->getQuery(), $query);
64 64
 
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
             return $this;
86 86
         }
87 87
 
88
-        $middleware = Middleware::retry(function ($retries, RequestInterface $request, ResponseInterface $response = null) {
88
+        $middleware = Middleware::retry(function($retries, RequestInterface $request, ResponseInterface $response = null) {
89 89
             if (is_null($response) || $retries < 1) {
90 90
                 return false;
91 91
             }
Please login to merge, or discard this patch.
src/Kernel/Http/ServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     public function register(Container $pimple)
27 27
     {
28
-        isset($pimple['client']) || $pimple['client'] = function ($app) {
28
+        isset($pimple['client']) || $pimple['client'] = function($app) {
29 29
             return new Client($app);
30 30
         };
31 31
     }
Please login to merge, or discard this patch.
src/Kernel/AccessToken.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
             'appsecret' => $this->app['config']->get('app_secret'),
70 70
         ]]);
71 71
 
72
-        return tap($this->castResponseToType($response, 'array'), function ($value) {
72
+        return tap($this->castResponseToType($response, 'array'), function($value) {
73 73
             $this->getCache()->set($this->cacheFor(), $value, $value['expires_in']);
74 74
         });
75 75
     }
Please login to merge, or discard this patch.
src/Kernel/ServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     public function register(Container $pimple)
27 27
     {
28
-        isset($pimple['access_token']) || $pimple['access_token'] = function ($app) {
28
+        isset($pimple['access_token']) || $pimple['access_token'] = function($app) {
29 29
             return new AccessToken($app);
30 30
         };
31 31
     }
Please login to merge, or discard this patch.
src/User/ServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     public function register(Container $pimple)
27 27
     {
28
-        $pimple['user'] = function ($app) {
28
+        $pimple['user'] = function($app) {
29 29
             return new Client($app);
30 30
         };
31 31
     }
Please login to merge, or discard this patch.
src/Report/ServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      */
26 26
     public function register(Container $pimple)
27 27
     {
28
-        $pimple['report'] = function ($app) {
28
+        $pimple['report'] = function($app) {
29 29
             return new Client($app);
30 30
         };
31 31
     }
Please login to merge, or discard this patch.