@@ -151,7 +151,7 @@ discard block |
||
| 151 | 151 | * |
| 152 | 152 | * @param bool $isAsyncRequest |
| 153 | 153 | * |
| 154 | - * @return TelegramRequest |
|
| 154 | + * @return Api |
|
| 155 | 155 | */ |
| 156 | 156 | public function setAsyncRequest($isAsyncRequest) |
| 157 | 157 | { |
@@ -211,7 +211,7 @@ discard block |
||
| 211 | 211 | /** |
| 212 | 212 | * Returns list of available commands. |
| 213 | 213 | * |
| 214 | - * @return array |
|
| 214 | + * @return Commands\Command[] |
|
| 215 | 215 | */ |
| 216 | 216 | public function getCommands() |
| 217 | 217 | { |
@@ -632,7 +632,7 @@ discard block |
||
| 632 | 632 | * |
| 633 | 633 | * @throws TelegramSDKException |
| 634 | 634 | * |
| 635 | - * @return TelegramResponse |
|
| 635 | + * @return Message |
|
| 636 | 636 | */ |
| 637 | 637 | public function setWebhook(array $params) |
| 638 | 638 | { |
@@ -857,7 +857,7 @@ discard block |
||
| 857 | 857 | /** |
| 858 | 858 | * Detect Message Type Based on Update or Message Object. |
| 859 | 859 | * |
| 860 | - * @param Update|Message $object |
|
| 860 | + * @param Message $object |
|
| 861 | 861 | * |
| 862 | 862 | * @return string|null |
| 863 | 863 | */ |
@@ -922,7 +922,7 @@ discard block |
||
| 922 | 922 | * Used primarily for file uploads. |
| 923 | 923 | * |
| 924 | 924 | * @param string $endpoint |
| 925 | - * @param array $params |
|
| 925 | + * @param string $params |
|
| 926 | 926 | * |
| 927 | 927 | * @throws TelegramSDKException |
| 928 | 928 | * |
@@ -1047,7 +1047,7 @@ discard block |
||
| 1047 | 1047 | /** |
| 1048 | 1048 | * Check if IoC Container has been set. |
| 1049 | 1049 | * |
| 1050 | - * @return Container |
|
| 1050 | + * @return boolean |
|
| 1051 | 1051 | */ |
| 1052 | 1052 | public function hasContainer() |
| 1053 | 1053 | { |
@@ -177,7 +177,7 @@ |
||
| 177 | 177 | /** |
| 178 | 178 | * Returns the exception that was thrown for this request. |
| 179 | 179 | * |
| 180 | - * @return TelegramSDKException|null |
|
| 180 | + * @return TelegramSDKException |
|
| 181 | 181 | */ |
| 182 | 182 | public function getThrownException() |
| 183 | 183 | { |