Completed
Push — smaller_code_and_docblock_fixe... ( b2ca6a )
by Armando
02:09
created
src/Commands/AdminCommands/SendtochannelCommand.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     /**
57 57
      * Command execute method
58 58
      *
59
-     * @return ServerResponse|mixed
59
+     * @return ServerResponse
60 60
      * @throws TelegramException
61 61
      */
62 62
     public function execute()
@@ -352,7 +352,7 @@  discard block
 block discarded – undo
352 352
      *
353 353
      * @todo Why send just to the first found channel?
354 354
      *
355
-     * @return mixed
355
+     * @return ServerResponse
356 356
      * @throws TelegramException
357 357
      */
358 358
     public function executeNoDb()
Please login to merge, or discard this patch.
src/Request.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -420,7 +420,7 @@  discard block
 block discarded – undo
420 420
      * @param bool  $has_resource
421 421
      * @param array $multipart
422 422
      *
423
-     * @return mixed
423
+     * @return string
424 424
      * @throws TelegramException
425 425
      */
426 426
     private static function mediaInputHelper($item, &$has_resource, array &$multipart)
@@ -512,7 +512,7 @@  discard block
 block discarded – undo
512 512
      *
513 513
      * @param File $file
514 514
      *
515
-     * @return boolean
515
+     * @return boolean|string
516 516
      * @throws TelegramException
517 517
      */
518 518
     public static function downloadFile(File $file)
Please login to merge, or discard this patch.