@@ -190,12 +190,12 @@ |
||
| 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 | } |
@@ -39,7 +39,7 @@ |
||
| 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 | |
@@ -108,7 +108,7 @@ |
||
| 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 | |
@@ -108,7 +108,7 @@ |
||
| 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 | |