@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | /** |
| 57 | 57 | * Command execute method |
| 58 | 58 | * |
| 59 | - * @return ServerResponse|mixed |
|
| 59 | + * @return ServerResponse |
|
| 60 | 60 | * @throws TelegramException |
| 61 | 61 | */ |
| 62 | 62 | public function execute() |
@@ -352,7 +352,7 @@ discard block |
||
| 352 | 352 | * |
| 353 | 353 | * @todo Why send just to the first found channel? |
| 354 | 354 | * |
| 355 | - * @return mixed |
|
| 355 | + * @return ServerResponse |
|
| 356 | 356 | * @throws TelegramException |
| 357 | 357 | */ |
| 358 | 358 | public function executeNoDb() |
@@ -420,7 +420,7 @@ discard block |
||
| 420 | 420 | * @param bool $has_resource |
| 421 | 421 | * @param array $multipart |
| 422 | 422 | * |
| 423 | - * @return mixed |
|
| 423 | + * @return string |
|
| 424 | 424 | * @throws TelegramException |
| 425 | 425 | */ |
| 426 | 426 | private static function mediaInputHelper($item, &$has_resource, array &$multipart) |
@@ -512,7 +512,7 @@ discard block |
||
| 512 | 512 | * |
| 513 | 513 | * @param File $file |
| 514 | 514 | * |
| 515 | - * @return boolean |
|
| 515 | + * @return boolean|string |
|
| 516 | 516 | * @throws TelegramException |
| 517 | 517 | */ |
| 518 | 518 | public static function downloadFile(File $file) |