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 Illuminate\Support\Str;
|
||||||
use Ratchet\ConnectionInterface;
|
use Ratchet\ConnectionInterface;
|
||||||
use React\EventLoop\LoopInterface;
|
use React\EventLoop\LoopInterface;
|
||||||
use React\Promise\FulfilledPromise;
|
|
||||||
use React\Promise\PromiseInterface;
|
use React\Promise\PromiseInterface;
|
||||||
use stdClass;
|
use stdClass;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ class PresenceChannel extends PrivateChannel
|
||||||
|
|
||||||
$this->channelManager
|
$this->channelManager
|
||||||
->userJoinedPresenceChannel($connection, $user, $this->getName(), $payload)
|
->userJoinedPresenceChannel($connection, $user, $this->getName(), $payload)
|
||||||
->then(function () use ($connection, $user) {
|
->then(function () use ($connection) {
|
||||||
$this->channelManager
|
$this->channelManager
|
||||||
->getChannelMembers($connection->app->id, $this->getName())
|
->getChannelMembers($connection->app->id, $this->getName())
|
||||||
->then(function ($users) use ($connection) {
|
->then(function ($users) use ($connection) {
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@ use BeyondCode\LaravelWebSockets\Contracts\StatisticsCollector;
|
||||||
use BeyondCode\LaravelWebSockets\Facades\StatisticsStore;
|
use BeyondCode\LaravelWebSockets\Facades\StatisticsStore;
|
||||||
use BeyondCode\LaravelWebSockets\Helpers;
|
use BeyondCode\LaravelWebSockets\Helpers;
|
||||||
use BeyondCode\LaravelWebSockets\Statistics\Statistic;
|
use BeyondCode\LaravelWebSockets\Statistics\Statistic;
|
||||||
use React\Promise\FulfilledPromise;
|
|
||||||
use React\Promise\PromiseInterface;
|
use React\Promise\PromiseInterface;
|
||||||
|
|
||||||
class MemoryCollector implements StatisticsCollector
|
class MemoryCollector implements StatisticsCollector
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue