@@ -84,14 +84,14 @@ |
||
| 84 | 84 | { |
| 85 | 85 | return $request->then( |
| 86 | 86 | // Promise fulfilled |
| 87 | - static function (ResponseInterface $response) { |
|
| 87 | + static function(ResponseInterface $response) { |
|
| 88 | 88 | return new TelegramResponse( |
| 89 | 89 | $response->getBody()->getContents(), |
| 90 | 90 | $response->getHeaders() |
| 91 | 91 | ); |
| 92 | 92 | }, |
| 93 | 93 | // Promise rejected |
| 94 | - static function (Exception $e) { |
|
| 94 | + static function(Exception $e) { |
|
| 95 | 95 | if ($e instanceof ResponseException) { |
| 96 | 96 | throw ClientException::fromResponseException($e); |
| 97 | 97 | } |