@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | ); |
| 99 | 99 | |
| 100 | 100 | $responseData = json_decode($response->getBody()->getContents(), true); |
| 101 | - if (! array_key_exists('decoded', $responseData)) { |
|
| 101 | + if (!array_key_exists('decoded', $responseData)) { |
|
| 102 | 102 | throw new DecodedSectionNotFound('Decoded section not found'); |
| 103 | 103 | } |
| 104 | 104 | |
@@ -215,7 +215,7 @@ discard block |
||
| 215 | 215 | ); |
| 216 | 216 | |
| 217 | 217 | $responseData = json_decode($response->getBody()->getContents(), true); |
| 218 | - if (! array_key_exists('decoded', $responseData)) { |
|
| 218 | + if (!array_key_exists('decoded', $responseData)) { |
|
| 219 | 219 | throw new DecodedSectionNotFound('Decoded section not found.'); |
| 220 | 220 | } |
| 221 | 221 | |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | protected function validateParams(array $params, array $requiredKeys) |
| 17 | 17 | { |
| 18 | 18 | foreach ($requiredKeys as $key) { |
| 19 | - if (! isset($params[$key])) { |
|
| 19 | + if (!isset($params[$key])) { |
|
| 20 | 20 | throw new InvalidArgumentException(sprintf('Required key: %s is not specified', $key)); |
| 21 | 21 | } |
| 22 | 22 | } |
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | throw new InvalidArgumentException('Email value can not be empty'); |
| 85 | 85 | } |
| 86 | 86 | |
| 87 | - if (! filter_var($email, FILTER_VALIDATE_EMAIL)) { |
|
| 87 | + if (!filter_var($email, FILTER_VALIDATE_EMAIL)) { |
|
| 88 | 88 | throw new InvalidArgumentException('Invalid Email address'); |
| 89 | 89 | } |
| 90 | 90 | |