@@ -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() |
@@ -801,7 +801,7 @@ |
||
801 | 801 | /** |
802 | 802 | * Delete any assigned webhook |
803 | 803 | * |
804 | - * @return mixed |
|
804 | + * @return ServerResponse |
|
805 | 805 | * @throws \Longman\TelegramBot\Exception\TelegramException |
806 | 806 | */ |
807 | 807 | public function deleteWebhook() |
@@ -371,7 +371,7 @@ discard block |
||
371 | 371 | * @param bool $has_resource |
372 | 372 | * @param array $multipart |
373 | 373 | * |
374 | - * @return mixed |
|
374 | + * @return string |
|
375 | 375 | */ |
376 | 376 | private static function mediaInputHelper($item, &$has_resource, array &$multipart) |
377 | 377 | { |
@@ -446,7 +446,7 @@ discard block |
||
446 | 446 | * |
447 | 447 | * @param \Longman\TelegramBot\Entities\File $file |
448 | 448 | * |
449 | - * @return boolean |
|
449 | + * @return boolean|string |
|
450 | 450 | * @throws \Longman\TelegramBot\Exception\TelegramException |
451 | 451 | */ |
452 | 452 | public static function downloadFile(File $file) |