Completed
Push — master ( a6d0e4...7156f8 )
by Irfaq
02:14
created
src/Api.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.