Apply fixes from StyleCI (#543)
This commit is contained in:
parent
5cb2ee9fce
commit
60c21f3f7b
|
|
@ -10,7 +10,6 @@ use BeyondCode\LaravelWebSockets\Helpers;
|
|||
use Illuminate\Support\Str;
|
||||
use Ratchet\ConnectionInterface;
|
||||
use React\EventLoop\LoopInterface;
|
||||
use React\Promise\FulfilledPromise;
|
||||
use React\Promise\PromiseInterface;
|
||||
use stdClass;
|
||||
|
||||
|
|
|
|||
|
|
@ -202,7 +202,7 @@ class RedisChannelManager extends LocalChannelManager
|
|||
->then(function () use ($connection, $channelName) {
|
||||
return $this->removeChannelFromSet($connection->app->id, $channelName);
|
||||
})
|
||||
->then(function () use($connection) {
|
||||
->then(function () use ($connection) {
|
||||
return $this->removeConnectionFromSet($connection);
|
||||
})
|
||||
->then(function () use ($connection, $channelName, $payload) {
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ class PresenceChannel extends PrivateChannel
|
|||
|
||||
$this->channelManager
|
||||
->userJoinedPresenceChannel($connection, $user, $this->getName(), $payload)
|
||||
->then(function () use ($connection, $user) {
|
||||
->then(function () use ($connection) {
|
||||
$this->channelManager
|
||||
->getChannelMembers($connection->app->id, $this->getName())
|
||||
->then(function ($users) use ($connection) {
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ use BeyondCode\LaravelWebSockets\Contracts\StatisticsCollector;
|
|||
use BeyondCode\LaravelWebSockets\Facades\StatisticsStore;
|
||||
use BeyondCode\LaravelWebSockets\Helpers;
|
||||
use BeyondCode\LaravelWebSockets\Statistics\Statistic;
|
||||
use React\Promise\FulfilledPromise;
|
||||
use React\Promise\PromiseInterface;
|
||||
|
||||
class MemoryCollector implements StatisticsCollector
|
||||
|
|
|
|||
Loading…
Reference in New Issue