Completed
Push — master ( 2cfb8a...695e63 )
by Armando
01:30
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/Telegram.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -801,7 +801,7 @@
 block discarded – undo
801 801
     /**
802 802
      * Delete any assigned webhook
803 803
      *
804
-     * @return mixed
804
+     * @return ServerResponse
805 805
      * @throws \Longman\TelegramBot\Exception\TelegramException
806 806
      */
807 807
     public function deleteWebhook()
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
@@ -371,7 +371,7 @@  discard block
 block discarded – undo
371 371
      * @param bool  $has_resource
372 372
      * @param array $multipart
373 373
      *
374
-     * @return mixed
374
+     * @return string
375 375
      */
376 376
     private static function mediaInputHelper($item, &$has_resource, array &$multipart)
377 377
     {
@@ -446,7 +446,7 @@  discard block
 block discarded – undo
446 446
      *
447 447
      * @param \Longman\TelegramBot\Entities\File $file
448 448
      *
449
-     * @return boolean
449
+     * @return boolean|string
450 450
      * @throws \Longman\TelegramBot\Exception\TelegramException
451 451
      */
452 452
     public static function downloadFile(File $file)
Please login to merge, or discard this patch.