Passed
Push — master ( 6a0aa5...e2096a )
by frey
02:50 queued 32s
created
src/Key/ServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function register(Container $app)
14 14
     {
15
-        $app['key'] = function ($app) {
15
+        $app['key'] = function($app) {
16 16
             return new Client($app);
17 17
         };
18 18
     }
Please login to merge, or discard this patch.
src/ServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
             __DIR__.'/../config/apigateway.php', 'services.apigateway'
18 18
         );
19 19
 
20
-        $this->app->singleton('apigateway', function ($app) {
20
+        $this->app->singleton('apigateway', function($app) {
21 21
             return new Application(
22 22
                 $app['config']['services.apigateway']
23 23
             );
Please login to merge, or discard this patch.
src/Kernel/Providers/ConfigServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function register(Container $pimple)
20 20
     {
21
-        $pimple['config'] = function ($app) {
21
+        $pimple['config'] = function($app) {
22 22
             return new Config($app->getConfig());
23 23
         };
24 24
     }
Please login to merge, or discard this patch.
src/Kernel/Providers/BaseClientServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function register(Container $pimple)
20 20
     {
21
-        $pimple['base_client'] = function ($app) {
21
+        $pimple['base_client'] = function($app) {
22 22
             return new BaseClient($app);
23 23
         };
24 24
     }
Please login to merge, or discard this patch.
src/Kernel/Providers/LogServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function register(Container $pimple)
20 20
     {
21
-        $pimple['logger'] = $pimple['log'] = function ($app) {
21
+        $pimple['logger'] = $pimple['log'] = function($app) {
22 22
             $config = $this->formatLogConfig($app);
23 23
 
24 24
             if (!empty($config)) {
Please login to merge, or discard this patch.
src/Kernel/Providers/HttpClientServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function register(Container $pimple)
20 20
     {
21
-        $pimple['http_client'] = function ($app) {
21
+        $pimple['http_client'] = function($app) {
22 22
             return new Client($app['config']->get('http', []));
23 23
         };
24 24
     }
Please login to merge, or discard this patch.
src/Kernel/Providers/RequestServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function register(Container $pimple)
20 20
     {
21
-        $pimple['request'] = function () {
21
+        $pimple['request'] = function() {
22 22
             return Request::createFromGlobals();
23 23
         };
24 24
     }
Please login to merge, or discard this patch.
src/Kernel/Traits/ResponseCastable.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,7 @@
 block discarded – undo
28 28
         $response->getBody()->rewind();
29 29
 
30 30
         switch ($type ?: 'array') {
31
-            case 'collection':
32
-                return $response->toCollection();
31
+            case 'collection' : return $response->toCollection();
33 32
             case 'array':
34 33
                 return $response->toArray();
35 34
             case 'object':
Please login to merge, or discard this patch.
src/Kernel/ServiceContainer.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,9 +11,9 @@
 block discarded – undo
11 11
 
12 12
 class ServiceContainer extends Container
13 13
 {
14
-     /**
15
-     * @var array
16
-     */
14
+        /**
15
+         * @var array
16
+         */
17 17
     protected $providers = [];
18 18
 
19 19
     /**
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,6 +158,6 @@
 block discarded – undo
158 158
      */
159 159
     public function withFingerprint()
160 160
     {
161
-        return (bool)$this->config->get('fingerprint');
161
+        return (bool) $this->config->get('fingerprint');
162 162
     }
163 163
 }
Please login to merge, or discard this patch.