Completed
Push — feature/refactor-app-design ( 808538...b217fa )
by Avtandil
03:33
created
src/Telegram.php 2 patches
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.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,8 +18,8 @@
 block discarded – undo
18 18
 use Longman\TelegramBot\Commands\Command;
19 19
 use Longman\TelegramBot\Entities\Update;
20 20
 use Longman\TelegramBot\Exception\TelegramException;
21
-use Longman\TelegramBot\Http\Kernel;
22 21
 use Longman\TelegramBot\Http\Client;
22
+use Longman\TelegramBot\Http\Kernel;
23 23
 use Longman\TelegramBot\Http\Request;
24 24
 use Longman\TelegramBot\Http\ServerResponse;
25 25
 use PDO;
Please login to merge, or discard this patch.
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\Http\ServerResponse|mixed
57
+     * @return \Longman\TelegramBot\Http\ServerResponse
58 58
      * @throws \Longman\TelegramBot\Exception\TelegramException
59 59
      */
60 60
     public function execute()
@@ -350,7 +350,7 @@  discard block
 block discarded – undo
350 350
      *
351 351
      * @todo Why send just to the first found channel?
352 352
      *
353
-     * @return mixed
353
+     * @return \Longman\TelegramBot\Http\ServerResponse
354 354
      * @throws \Longman\TelegramBot\Exception\TelegramException
355 355
      */
356 356
     public function executeNoDb()
Please login to merge, or discard this patch.
src/Http/Client.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -286,7 +286,7 @@  discard block
 block discarded – undo
286 286
     /**
287 287
      * Set a custom Guzzle HTTP Client object
288 288
      *
289
-     * @param Client $client
289
+     * @param GuzzleClient $client
290 290
      *
291 291
      * @throws TelegramException
292 292
      */
@@ -440,7 +440,7 @@  discard block
 block discarded – undo
440 440
      *
441 441
      * @param \Longman\TelegramBot\Entities\File $file
442 442
      *
443
-     * @return boolean
443
+     * @return boolean|string
444 444
      * @throws \Longman\TelegramBot\Exception\TelegramException
445 445
      */
446 446
     public static function downloadFile(File $file)
Please login to merge, or discard this patch.
src/Http/Kernel.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,9 +37,9 @@
 block discarded – undo
37 37
     /**
38 38
      * Handle an incoming HTTP request.
39 39
      *
40
-     * @param  \Longman\TelegramBot\Request2 $request
40
+     * @param  Request $request
41 41
      *
42
-     * @return \Longman\TelegramBot\Response
42
+     * @return boolean
43 43
      *
44 44
      * @throws \Longman\TelegramBot\Exception\TelegramException
45 45
      */
Please login to merge, or discard this patch.