@@ -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() |
@@ -332,7 +332,7 @@ discard block |
||
332 | 332 | * |
333 | 333 | * @todo Why send just to the first found channel? |
334 | 334 | * |
335 | - * @return mixed |
|
335 | + * @return \Longman\TelegramBot\Entities\ServerResponse |
|
336 | 336 | * @throws \Longman\TelegramBot\Exception\TelegramException |
337 | 337 | */ |
338 | 338 | public function executeNoDb() |
@@ -381,7 +381,7 @@ discard block |
||
381 | 381 | * |
382 | 382 | * @param \Longman\TelegramBot\Entities\File $file |
383 | 383 | * |
384 | - * @return boolean |
|
384 | + * @return boolean|string |
|
385 | 385 | * @throws \Longman\TelegramBot\Exception\TelegramException |
386 | 386 | */ |
387 | 387 | public static function downloadFile(File $file) |
@@ -722,6 +722,9 @@ discard block |
||
722 | 722 | |
723 | 723 | |
724 | 724 | |
725 | + /** |
|
726 | + * @param string $action |
|
727 | + */ |
|
725 | 728 | private static function sendChatActionIfNecessary($action, $data) |
726 | 729 | { |
727 | 730 |