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