@@ -17,7 +17,7 @@ |
||
| 17 | 17 | */ |
| 18 | 18 | public function __construct($handle) |
| 19 | 19 | { |
| 20 | - parent::__construct('Request error: ' . curl_error($handle)); |
|
| 20 | + parent::__construct('Request error: '.curl_error($handle)); |
|
| 21 | 21 | |
| 22 | 22 | $this->code = curl_errno($handle); |
| 23 | 23 | $this->info = curl_getinfo($handle); |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | |
| 10 | 10 | public function __construct(\Throwable $previous) |
| 11 | 11 | { |
| 12 | - parent::__construct('Request error: ' . $previous->getMessage(), $previous->getCode(), $previous); |
|
| 12 | + parent::__construct('Request error: '.$previous->getMessage(), $previous->getCode(), $previous); |
|
| 13 | 13 | } |
| 14 | 14 | |
| 15 | 15 | } |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | ->getMock(); |
| 26 | 26 | |
| 27 | 27 | $apiClient->expects(self::once())->method('createResponseByData') |
| 28 | - ->willReturnCallback(function (array $postData) { |
|
| 28 | + ->willReturnCallback(function(array $postData) { |
|
| 29 | 29 | return new Response(new ResponseCode(ResponseCode::S200_OK), $postData); |
| 30 | 30 | }); |
| 31 | 31 | |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | ->getMock(); |
| 59 | 59 | |
| 60 | 60 | $apiClient->expects(self::once())->method('createResponseByData') |
| 61 | - ->willReturnCallback(function (array $postData) { |
|
| 61 | + ->willReturnCallback(function(array $postData) { |
|
| 62 | 62 | return new Response(new ResponseCode(ResponseCode::S200_OK), $postData); |
| 63 | 63 | }); |
| 64 | 64 | |