Completed
Pull Request — develop (#865)
by Saeed
02:47
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   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -381,7 +381,7 @@  discard block
 block discarded – undo
381 381
      *
382 382
      * @param \Longman\TelegramBot\Entities\File $file
383 383
      *
384
-     * @return boolean
384
+     * @return boolean|string
385 385
      * @throws \Longman\TelegramBot\Exception\TelegramException
386 386
      */
387 387
     public static function downloadFile(File $file)
@@ -722,6 +722,9 @@  discard block
 block discarded – undo
722 722
 
723 723
 
724 724
 
725
+    /**
726
+     * @param string $action
727
+     */
725 728
     private static function sendChatActionIfNecessary($action, $data)
726 729
     {
727 730
 
Please login to merge, or discard this patch.