@@ -79,9 +79,9 @@ |
||
| 79 | 79 | $option = $this->bodyConstructor->constructOptions($method); |
| 80 | 80 | |
| 81 | 81 | return $this->sendRequestToTelegram($method, $option) |
| 82 | - ->then(function (Response $response) use ($method) { |
|
| 82 | + ->then(function(Response $response) use ($method) { |
|
| 83 | 83 | return $method::bindToObject($response, $this->logger); |
| 84 | - }, function ($error) { |
|
| 84 | + }, function($error) { |
|
| 85 | 85 | $this->logger->error($error); |
| 86 | 86 | throw $error; |
| 87 | 87 | }); |