Completed
Push — master ( 4f81cd...7d8814 )
by Irfaq
14:25 queued 11:56
created
src/Api.php 1 patch
Doc Comments   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -800,7 +800,7 @@  discard block
 block discarded – undo
800 800
      *
801 801
      * @var string|int  $params ['chat_id'] Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)
802 802
      *
803
-     * @return Chat
803
+     * @return TelegramResponse
804 804
      */
805 805
     public function getChat(array $params)
806 806
     {
@@ -822,7 +822,7 @@  discard block
 block discarded – undo
822 822
      *
823 823
      * @var string|int  $params ['chat_id'] Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername);
824 824
      *
825
-     * @return ChatMember[]
825
+     * @return TelegramResponse
826 826
      */
827 827
     public function getChatAdministrators(array $params)
828 828
     {
@@ -844,7 +844,7 @@  discard block
 block discarded – undo
844 844
      *
845 845
      * @var string|int  $params ['chat_id'] Unique identifier for the target chat or username of the target supergroup or channel (in the format @channelusername)
846 846
      *
847
-     * @return int
847
+     * @return TelegramResponse
848 848
      */
849 849
     public function getChatMembersCount(array $params)
850 850
     {
@@ -878,7 +878,7 @@  discard block
 block discarded – undo
878 878
      * @var bool       $params ['disable_web_page_preview']
879 879
      * @var string     $params ['reply_markup']
880 880
      *
881
-     * @return TelegramResponse
881
+     * @return Message
882 882
      */
883 883
     public function editMessageText(array $params)
884 884
     {
@@ -910,7 +910,7 @@  discard block
 block discarded – undo
910 910
      * @var string     $params ['caption']
911 911
      * @var string     $params ['reply_markup']
912 912
      *
913
-     * @return TelegramResponse
913
+     * @return Message
914 914
      */
915 915
     public function editMessageCaption(array $params)
916 916
     {
@@ -940,7 +940,7 @@  discard block
 block discarded – undo
940 940
      * @var string     $params ['inline_message_id']
941 941
      * @var string     $params ['reply_markup']
942 942
      *
943
-     * @return TelegramResponse
943
+     * @return Message
944 944
      */
945 945
     public function editMessageReplyMarkup(array $params)
946 946
     {
@@ -976,7 +976,7 @@  discard block
 block discarded – undo
976 976
      * @var string|null $params ['switch_pm_text']
977 977
      * @var string|null $params ['switch_pm_parameter']
978 978
      *
979
-     * @return bool
979
+     * @return TelegramResponse
980 980
      */
981 981
     public function answerInlineQuery(array $params = [])
982 982
     {
@@ -1007,7 +1007,7 @@  discard block
 block discarded – undo
1007 1007
      *
1008 1008
      * @throws TelegramSDKException
1009 1009
      *
1010
-     * @return TelegramResponse
1010
+     * @return Message
1011 1011
      */
1012 1012
     public function setWebhook(array $params)
1013 1013
     {
@@ -1123,7 +1123,7 @@  discard block
 block discarded – undo
1123 1123
      * @var bool    $params ['one_time_keyboard']
1124 1124
      * @var bool    $params ['selective']
1125 1125
      *
1126
-     * @return string
1126
+     * @return Keyboard
1127 1127
      */
1128 1128
     public function replyKeyboardMarkup(array $params)
1129 1129
     {
@@ -1150,7 +1150,7 @@  discard block
 block discarded – undo
1150 1150
      * @var bool    $params ['hide_keyboard']
1151 1151
      * @var bool    $params ['selective']
1152 1152
      *
1153
-     * @return string
1153
+     * @return Keyboard
1154 1154
      */
1155 1155
     public static function replyKeyboardHide(array $params = [])
1156 1156
     {
@@ -1177,7 +1177,7 @@  discard block
 block discarded – undo
1177 1177
      * @var bool    $params ['force_reply']
1178 1178
      * @var bool    $params ['selective']
1179 1179
      *
1180
-     * @return string
1180
+     * @return Keyboard
1181 1181
      */
1182 1182
     public static function forceReply(array $params = [])
1183 1183
     {
@@ -1257,7 +1257,7 @@  discard block
 block discarded – undo
1257 1257
      *
1258 1258
      * @throws \InvalidArgumentException
1259 1259
      *
1260
-     * @return bool
1260
+     * @return null|boolean
1261 1261
      */
1262 1262
     public function isMessageType($type, $object)
1263 1263
     {
@@ -1362,7 +1362,7 @@  discard block
 block discarded – undo
1362 1362
      * Used primarily for file uploads.
1363 1363
      *
1364 1364
      * @param string $endpoint
1365
-     * @param array  $params
1365
+     * @param string  $params
1366 1366
      *
1367 1367
      * @throws TelegramSDKException
1368 1368
      *
Please login to merge, or discard this patch.