Completed
Pull Request — master (#815)
by Jazin
03:05
created
src/Commands/AdminCommands/SendtochannelCommand.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     /**
55 55
      * Command execute method
56 56
      *
57
-     * @return \Longman\TelegramBot\Entities\ServerResponse|mixed
57
+     * @return \Longman\TelegramBot\Entities\ServerResponse
58 58
      * @throws \Longman\TelegramBot\Exception\TelegramException
59 59
      */
60 60
     public function execute()
@@ -332,7 +332,7 @@  discard block
 block discarded – undo
332 332
      *
333 333
      * @todo Why send just to the first found channel?
334 334
      *
335
-     * @return mixed
335
+     * @return \Longman\TelegramBot\Entities\ServerResponse
336 336
      * @throws \Longman\TelegramBot\Exception\TelegramException
337 337
      */
338 338
     public function executeNoDb()
Please login to merge, or discard this patch.
src/Request.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -257,7 +257,7 @@
 block discarded – undo
257 257
      *
258 258
      * @param \Longman\TelegramBot\Entities\File $file
259 259
      *
260
-     * @return boolean
260
+     * @return boolean|string
261 261
      * @throws \Longman\TelegramBot\Exception\TelegramException
262 262
      */
263 263
     public static function downloadFile(File $file)
Please login to merge, or discard this patch.
src/Telegram.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -550,6 +550,7 @@  discard block
 block discarded – undo
550 550
      * Execute /command
551 551
      *
552 552
      * @param string $command
553
+     * @param string $scope
553 554
      *
554 555
      * @return mixed
555 556
      * @throws \Longman\TelegramBot\Exception\TelegramException
@@ -900,7 +901,7 @@  discard block
 block discarded – undo
900 901
     /**
901 902
      * Delete any assigned webhook
902 903
      *
903
-     * @return mixed
904
+     * @return ServerResponse
904 905
      * @throws \Longman\TelegramBot\Exception\TelegramException
905 906
      */
906 907
     public function deleteWebhook()
Please login to merge, or discard this patch.