@@ -307,7 +307,7 @@ |
||
| 307 | 307 | |
| 308 | 308 | if ($response->isOk()) { |
| 309 | 309 | //Process all updates |
| 310 | - foreach ((array)$response->getResult() as $result) { |
|
| 310 | + foreach ((array) $response->getResult() as $result) { |
|
| 311 | 311 | $this->processUpdate($result); |
| 312 | 312 | } |
| 313 | 313 | } |
@@ -729,7 +729,7 @@ |
||
| 729 | 729 | /** |
| 730 | 730 | * Unset Webhook for bot |
| 731 | 731 | * |
| 732 | - * @return mixed |
|
| 732 | + * @return ServerResponse |
|
| 733 | 733 | * @throws \Longman\TelegramBot\Exception\TelegramException |
| 734 | 734 | */ |
| 735 | 735 | public function unsetWebHook() |