@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | $response = \GuzzleHttp\Promise\promise_for($this->getSuitableResponse($request)); |
| 18 | 18 | |
| 19 | 19 | return $response->then( |
| 20 | - function ($value) { |
|
| 20 | + function($value) { |
|
| 21 | 21 | return $value; |
| 22 | 22 | } |
| 23 | 23 | ); |
@@ -93,6 +93,6 @@ discard block |
||
| 93 | 93 | |
| 94 | 94 | private function isSuitableString(string $expected, string $actual): bool |
| 95 | 95 | { |
| 96 | - return 0 === strcasecmp($expected, $actual) || @preg_match('/^'.$expected.'$/i', $actual); |
|
| 96 | + return 0 === strcasecmp($expected, $actual) || @preg_match('/^' . $expected . '$/i', $actual); |
|
| 97 | 97 | } |
| 98 | 98 | } |