@@ -656,7 +656,7 @@ discard block |
||
656 | 656 | * |
657 | 657 | * @throws TelegramSDKException |
658 | 658 | * |
659 | - * @return TelegramResponse |
|
659 | + * @return Message |
|
660 | 660 | */ |
661 | 661 | public function setWebhook(array $params) |
662 | 662 | { |
@@ -881,7 +881,7 @@ discard block |
||
881 | 881 | /** |
882 | 882 | * Detect Message Type Based on Update or Message Object. |
883 | 883 | * |
884 | - * @param Update|Message $object |
|
884 | + * @param Message $object |
|
885 | 885 | * |
886 | 886 | * @return string|null |
887 | 887 | */ |
@@ -946,7 +946,7 @@ discard block |
||
946 | 946 | * Used primarily for file uploads. |
947 | 947 | * |
948 | 948 | * @param string $endpoint |
949 | - * @param array $params |
|
949 | + * @param string $params |
|
950 | 950 | * |
951 | 951 | * @throws TelegramSDKException |
952 | 952 | * |
@@ -101,7 +101,7 @@ |
||
101 | 101 | /** |
102 | 102 | * Get the services provided by the provider. |
103 | 103 | * |
104 | - * @return array |
|
104 | + * @return string[] |
|
105 | 105 | */ |
106 | 106 | public function provides() |
107 | 107 | { |