@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | /** |
55 | 55 | * Command execute method |
56 | 56 | * |
57 | - * @return \Longman\TelegramBot\Entities\ServerResponse|mixed |
|
57 | + * @return \Longman\TelegramBot\Entities\ServerResponse |
|
58 | 58 | * @throws \Longman\TelegramBot\Exception\TelegramException |
59 | 59 | */ |
60 | 60 | public function execute() |
@@ -350,7 +350,7 @@ discard block |
||
350 | 350 | * |
351 | 351 | * @todo Why send just to the first found channel? |
352 | 352 | * |
353 | - * @return mixed |
|
353 | + * @return \Longman\TelegramBot\Entities\ServerResponse |
|
354 | 354 | * @throws \Longman\TelegramBot\Exception\TelegramException |
355 | 355 | */ |
356 | 356 | public function executeNoDb() |
@@ -374,7 +374,7 @@ |
||
374 | 374 | * |
375 | 375 | * @param \Longman\TelegramBot\Entities\File $file |
376 | 376 | * |
377 | - * @return boolean |
|
377 | + * @return boolean|string |
|
378 | 378 | * @throws \Longman\TelegramBot\Exception\TelegramException |
379 | 379 | */ |
380 | 380 | public static function downloadFile(File $file) |
@@ -550,6 +550,7 @@ discard block |
||
550 | 550 | * Execute /command |
551 | 551 | * |
552 | 552 | * @param string $command |
553 | + * @param string $scope |
|
553 | 554 | * |
554 | 555 | * @return mixed |
555 | 556 | * @throws \Longman\TelegramBot\Exception\TelegramException |
@@ -900,7 +901,7 @@ discard block |
||
900 | 901 | /** |
901 | 902 | * Delete any assigned webhook |
902 | 903 | * |
903 | - * @return mixed |
|
904 | + * @return ServerResponse |
|
904 | 905 | * @throws \Longman\TelegramBot\Exception\TelegramException |
905 | 906 | */ |
906 | 907 | public function deleteWebhook() |