Completed
Pull Request — master (#182)
by
unknown
02:33
created
src/Commands/Command.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -155,6 +155,7 @@
 block discarded – undo
155 155
 
156 156
     /**
157 157
      * {@inheritdoc}
158
+     * @param string $arguments
158 159
      */
159 160
     abstract public function handle($arguments);
160 161
 }
Please login to merge, or discard this patch.
src/Events/UpdateWasReceived.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,6 @@
 block discarded – undo
23 23
      * UpdateWasReceived constructor.
24 24
      *
25 25
      * @param Update $update
26
-     * @param Api    $telegram
27 26
      */
28 27
     public function __construct(Update $update, Bot $bot)
29 28
     {
Please login to merge, or discard this patch.
src/Commands/CommandBus.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     /**
38 38
      * Returns the list of commands.
39 39
      *
40
-     * @return array
40
+     * @return Command[]
41 41
      */
42 42
     public function getCommands()
43 43
     {
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
      *
171 171
      * @throws \InvalidArgumentException
172 172
      *
173
-     * @return array
173
+     * @return string[]
174 174
      */
175 175
     public function parseCommand($text)
176 176
     {
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
     /**
187 187
      * Handles Inbound Messages and Executes Appropriate Command.
188 188
      *
189
-     * @param $message
189
+     * @param string $message
190 190
      * @param $update
191 191
      *
192 192
      * @throws TelegramSDKException
@@ -211,8 +211,8 @@  discard block
 block discarded – undo
211 211
      * Execute the command.
212 212
      *
213 213
      * @param $name
214
-     * @param $arguments
215
-     * @param $message
214
+     * @param string $arguments
215
+     * @param Update $message
216 216
      *
217 217
      * @return mixed
218 218
      */
Please login to merge, or discard this patch.