Completed
Push — master ( a45079...5e7ab0 )
by Irfaq
02:26
created
src/Api.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -656,7 +656,7 @@  discard block
 block discarded – undo
656 656
      *
657 657
      * @throws TelegramSDKException
658 658
      *
659
-     * @return TelegramResponse
659
+     * @return Message
660 660
      */
661 661
     public function setWebhook(array $params)
662 662
     {
@@ -881,7 +881,7 @@  discard block
 block discarded – undo
881 881
     /**
882 882
      * Detect Message Type Based on Update or Message Object.
883 883
      *
884
-     * @param Update|Message $object
884
+     * @param Message $object
885 885
      *
886 886
      * @return string|null
887 887
      */
@@ -946,7 +946,7 @@  discard block
 block discarded – undo
946 946
      * Used primarily for file uploads.
947 947
      *
948 948
      * @param string $endpoint
949
-     * @param array  $params
949
+     * @param string  $params
950 950
      *
951 951
      * @throws TelegramSDKException
952 952
      *
Please login to merge, or discard this patch.
src/Laravel/TelegramServiceProvider.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
     /**
102 102
      * Get the services provided by the provider.
103 103
      *
104
-     * @return array
104
+     * @return string[]
105 105
      */
106 106
     public function provides()
107 107
     {
Please login to merge, or discard this patch.
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,12 +2,12 @@
 block discarded – undo
2 2
 
3 3
 namespace Telegram\Bot\Laravel;
4 4
 
5
-use Telegram\Bot\Api;
6
-use Telegram\Bot\BotsManager;
7
-use Illuminate\Support\ServiceProvider;
8 5
 use Illuminate\Contracts\Foundation\Application;
9
-use Laravel\Lumen\Application as LumenApplication;
10 6
 use Illuminate\Foundation\Application as LaravelApplication;
7
+use Illuminate\Support\ServiceProvider;
8
+use Laravel\Lumen\Application as LumenApplication;
9
+use Telegram\Bot\Api;
10
+use Telegram\Bot\BotsManager;
11 11
 
12 12
 /**
13 13
  * Class TelegramServiceProvider.
Please login to merge, or discard this patch.