Passed
Push — master ( 21d838...eb2b9c )
by Dāvis
04:59
created
DependencyInjection/Compiler/MiddlewarePass.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -190,12 +190,12 @@
 block discarded – undo
190 190
         }
191 191
 
192 192
         if ($whiteList) {
193
-            return array_filter($middlewareBag, function ($value) use ($whiteList) {
193
+            return array_filter($middlewareBag, function($value) use ($whiteList) {
194 194
                 return in_array($value['alias'], $whiteList, true);
195 195
             });
196 196
         }
197 197
 
198
-        return array_filter($middlewareBag, function ($value) use ($blackList) {
198
+        return array_filter($middlewareBag, function($value) use ($blackList) {
199 199
             return !in_array($value['alias'], $blackList, true);
200 200
         });
201 201
     }
Please login to merge, or discard this patch.
Guzzle/GuzzleHttp/Middleware/CacheMiddleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     {
40 40
         return $handler($request, $options)->then(function(ResponseInterface $response) use ($request) {
41 41
             $code = (int)floor((int)$response->getStatusCode() / 100);
42
-            if($code === 2) {
42
+            if ($code === 2) {
43 43
                 $this->adapter->save($request, $response);
44 44
             }
45 45
 
Please login to merge, or discard this patch.
Script/Utils/Helper.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
         // @formatter:on
109 109
 
110 110
         $sum = 0;
111
-        foreach($calculations as $key => $calculation){
111
+        foreach ($calculations as $key => $calculation) {
112 112
             $sum += ($personCode[$key] * $calculation);
113 113
         }
114 114
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
         // @formatter:on
109 109
 
110 110
         $sum = 0;
111
-        foreach($calculations as $key => $calculation){
111
+        foreach($calculations as $key => $calculation) {
112 112
             $sum += ($personCode[$key] * $calculation);
113 113
         }
114 114
 
Please login to merge, or discard this patch.