@@ -286,7 +286,7 @@ discard block |
||
286 | 286 | /** |
287 | 287 | * Set a custom Guzzle HTTP Client object |
288 | 288 | * |
289 | - * @param Client $client |
|
289 | + * @param GuzzleClient $client |
|
290 | 290 | * |
291 | 291 | * @throws TelegramException |
292 | 292 | */ |
@@ -440,7 +440,7 @@ discard block |
||
440 | 440 | * |
441 | 441 | * @param \Longman\TelegramBot\Entities\File $file |
442 | 442 | * |
443 | - * @return boolean |
|
443 | + * @return boolean|string |
|
444 | 444 | * @throws \Longman\TelegramBot\Exception\TelegramException |
445 | 445 | */ |
446 | 446 | public static function downloadFile(File $file) |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | /** |
55 | 55 | * Command execute method |
56 | 56 | * |
57 | - * @return \Longman\TelegramBot\Http\Response|mixed |
|
57 | + * @return \Longman\TelegramBot\Http\Response |
|
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\Http\Response |
|
354 | 354 | * @throws \Longman\TelegramBot\Exception\TelegramException |
355 | 355 | */ |
356 | 356 | public function executeNoDb() |
@@ -42,8 +42,8 @@ |
||
42 | 42 | * |
43 | 43 | * @param \Longman\TelegramBot\Http\Request $request |
44 | 44 | * |
45 | - * @param null $limit |
|
46 | - * @param null $timeout |
|
45 | + * @param integer|null $limit |
|
46 | + * @param integer|null $timeout |
|
47 | 47 | * @return \Longman\TelegramBot\Http\Response |
48 | 48 | * |
49 | 49 | * @throws \Longman\TelegramBot\Exception\TelegramException |
@@ -825,7 +825,7 @@ |
||
825 | 825 | /** |
826 | 826 | * Delete any assigned webhook |
827 | 827 | * |
828 | - * @return mixed |
|
828 | + * @return Response |
|
829 | 829 | * @throws \Longman\TelegramBot\Exception\TelegramException |
830 | 830 | */ |
831 | 831 | public function deleteWebhook() |