Completed
Pull Request — master (#447)
by Alexandru
02:04
created
src/Statistics/Collectors/RedisCollector.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@
 block discarded – undo
197 197
     /**
198 198
      * Get a new RedisLock instance to avoid race conditions.
199 199
      *
200
-     * @return \Illuminate\Cache\CacheLock
200
+     * @return RedisLock
201 201
      */
202 202
     protected function lock()
203 203
     {
Please login to merge, or discard this patch.
src/Console/Commands/StartServer.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,10 +5,10 @@
 block discarded – undo
5 5
 use BeyondCode\LaravelWebSockets\Contracts\ChannelManager;
6 6
 use BeyondCode\LaravelWebSockets\Facades\StatisticsCollector as StatisticsCollectorFacade;
7 7
 use BeyondCode\LaravelWebSockets\Facades\WebSocketRouter;
8
+use BeyondCode\LaravelWebSockets\ServerFactory;
8 9
 use BeyondCode\LaravelWebSockets\Server\Loggers\ConnectionLogger;
9 10
 use BeyondCode\LaravelWebSockets\Server\Loggers\HttpLogger;
10 11
 use BeyondCode\LaravelWebSockets\Server\Loggers\WebSocketsLogger;
11
-use BeyondCode\LaravelWebSockets\ServerFactory;
12 12
 use Illuminate\Console\Command;
13 13
 use Illuminate\Support\Facades\Cache;
14 14
 use React\EventLoop\Factory as LoopFactory;
Please login to merge, or discard this patch.
src/ChannelManagers/RedisChannelManager.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -308,7 +308,6 @@  discard block
 block discarded – undo
308 308
      * @param  \Ratchet\ConnectionInterface  $connection
309 309
      * @param  stdClass  $user
310 310
      * @param  string  $channel
311
-     * @param  stdClass  $payload
312 311
      * @return void
313 312
      */
314 313
     public function userLeftPresenceChannel(ConnectionInterface $connection, stdClass $user, string $channel)
@@ -540,7 +539,7 @@  discard block
 block discarded – undo
540 539
      *
541 540
      * @param  string|int  $appId
542 541
      * @param  string|null  $channel
543
-     * @param  int  $decrement
542
+     * @param  int  $increment
544 543
      * @return PromiseInterface
545 544
      */
546 545
     public function decrementSubscriptionsCount($appId, string $channel = null, int $increment = 1)
@@ -552,7 +551,7 @@  discard block
 block discarded – undo
552 551
      * Add the connection to the sorted list.
553 552
      *
554 553
      * @param  \Ratchet\ConnectionInterface  $connection
555
-     * @param  \DateTime|string|null  $moment
554
+     * @param  Carbon  $moment
556 555
      * @return void
557 556
      */
558 557
     public function addConnectionToSet(ConnectionInterface $connection, $moment = null)
@@ -761,7 +760,7 @@  discard block
 block discarded – undo
761 760
     /**
762 761
      * Get a new RedisLock instance to avoid race conditions.
763 762
      *
764
-     * @return \Illuminate\Cache\CacheLock
763
+     * @return RedisLock
765 764
      */
766 765
     protected function lock()
767 766
     {
Please login to merge, or discard this patch.