Passed
Push — master ( 9e5a11...b08ede )
by frey
01:13 queued 11s
created
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.
src/Kernel/Support/Arr.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@
 block discarded – undo
174 174
      */
175 175
     public static function flatten(array $array, $depth = INF)
176 176
     {
177
-        return array_reduce($array, function ($result, $item) use ($depth) {
177
+        return array_reduce($array, function($result, $item) use ($depth) {
178 178
             $item = $item instanceof Collection ? $item->all() : $item;
179 179
 
180 180
             if (!is_array($item)) {
Please login to merge, or discard this patch.
src/Kernel/Support/Helpers.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
  */
13 13
 function generate_sign(array $headers, $secretKey)
14 14
 {
15
-    $headers = array_map(function ($key, $value) {
16
-        return strtolower($key) . ': ' . $value;
15
+    $headers = array_map(function($key, $value) {
16
+        return strtolower($key).': '.$value;
17 17
     }, array_keys($headers), $headers);
18 18
 
19 19
     $sourceString = implode("\n", $headers);
Please login to merge, or discard this patch.
src/API/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['api'] = function ($app) {
15
+        $app['api'] = function($app) {
16 16
             return new Client($app);
17 17
         };
18 18
     }
Please login to merge, or discard this patch.
src/UsagePlan/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['usage_plan'] = function ($app) {
15
+        $app['usage_plan'] = function($app) {
16 16
             return new Client($app);
17 17
         };
18 18
     }
Please login to merge, or discard this patch.
src/Kernel/Traits/WithFingerprint.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     {
14 14
         ksort($params);
15 15
 
16
-        return md5(http_build_query(array_map(function ($item) {
16
+        return md5(http_build_query(array_map(function($item) {
17 17
             return md5($item);
18 18
         }, $params)));
19 19
     }
Please login to merge, or discard this patch.
src/Service/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['service'] = function ($app) {
15
+        $app['service'] = function($app) {
16 16
             return new Client($app);
17 17
         };
18 18
     }
Please login to merge, or discard this patch.