Completed
Push — master ( 1a27b7...5b6acf )
by Irfaq
13:46 queued 10s
created
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\Container\Container as 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.
src/Helpers/Emojify.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
      *
158 158
      * @param $line
159 159
      * @param $replace
160
-     * @param $delimiter
160
+     * @param string $delimiter
161 161
      *
162 162
      * @return mixed
163 163
      */
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
      *
176 176
      * @param $line
177 177
      * @param $replace
178
-     * @param $delimiter
178
+     * @param string $delimiter
179 179
      *
180 180
      * @return mixed
181 181
      */
Please login to merge, or discard this patch.
src/Events/EmitsEvents.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     private $eventEmitter;
14 14
 
15 15
     /**
16
-     * @param EventInterface|string $event
16
+     * @param UpdateWasReceived $event
17 17
      * @throws \InvalidArgumentException
18 18
      * @return bool true if emitted, false otherwise
19 19
      */
Please login to merge, or discard this patch.
src/Api.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1245,7 +1245,7 @@  discard block
 block discarded – undo
1245 1245
      * @var bool    $params ['one_time_keyboard']
1246 1246
      * @var bool    $params ['selective']
1247 1247
      *
1248
-     * @return string
1248
+     * @return Keyboard
1249 1249
      */
1250 1250
     public function replyKeyboardMarkup(array $params)
1251 1251
     {
@@ -1272,7 +1272,7 @@  discard block
 block discarded – undo
1272 1272
      * @var bool    $params ['hide_keyboard']
1273 1273
      * @var bool    $params ['selective']
1274 1274
      *
1275
-     * @return string
1275
+     * @return Keyboard
1276 1276
      */
1277 1277
     public static function replyKeyboardHide(array $params = [])
1278 1278
     {
@@ -1459,7 +1459,7 @@  discard block
 block discarded – undo
1459 1459
      * Used primarily for file uploads.
1460 1460
      *
1461 1461
      * @param string $endpoint
1462
-     * @param array  $params
1462
+     * @param string  $params
1463 1463
      *
1464 1464
      * @throws TelegramSDKException
1465 1465
      *
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,12 +3,14 @@  discard block
 block discarded – undo
3 3
 namespace Telegram\Bot;
4 4
 
5 5
 use Illuminate\Contracts\Container\Container;
6
+use Illuminate\Support\Str;
6 7
 use Telegram\Bot\Commands\CommandBus;
7 8
 use Telegram\Bot\Events\EmitsEvents;
8 9
 use Telegram\Bot\Events\UpdateWasReceived;
9 10
 use Telegram\Bot\Exceptions\TelegramSDKException;
10 11
 use Telegram\Bot\FileUpload\InputFile;
11 12
 use Telegram\Bot\HttpClients\HttpClientInterface;
13
+use Telegram\Bot\Keyboard\Keyboard;
12 14
 use Telegram\Bot\Objects\Chat;
13 15
 use Telegram\Bot\Objects\ChatMember;
14 16
 use Telegram\Bot\Objects\File;
@@ -17,8 +19,6 @@  discard block
 block discarded – undo
17 19
 use Telegram\Bot\Objects\Update;
18 20
 use Telegram\Bot\Objects\User;
19 21
 use Telegram\Bot\Objects\UserProfilePhotos;
20
-use Telegram\Bot\Keyboard\Keyboard;
21
-use Illuminate\Support\Str;
22 22
 
23 23
 /**
24 24
  * Class Api.
Please login to merge, or discard this patch.
src/BotsManager.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 namespace Telegram\Bot;
4 4
 
5 5
 use Illuminate\Contracts\Container\Container;
6
-use InvalidArgumentException;
7 6
 use Illuminate\Support\Arr;
7
+use InvalidArgumentException;
8 8
 
9 9
 /**
10 10
  * Class BotsManager
Please login to merge, or discard this patch.