style fix

This commit is contained in:
Simon Bühler 2021-03-04 09:05:48 +01:00
parent 6b6197f4f1
commit 0dc2db12c4
1 changed files with 3 additions and 3 deletions

View File

@ -174,9 +174,9 @@ class LocalChannelManager implements ChannelManager
$this->getLocalChannels($connection->app->id) $this->getLocalChannels($connection->app->id)
->then(function ($channels) use ($connection) { ->then(function ($channels) use ($connection) {
collect($channels) collect($channels)
->each(function (Channel $channel) use ($connection) { ->each(function (Channel $channel) use ($connection) {
$channel->unsubscribe($connection); $channel->unsubscribe($connection);
}); });
collect($channels) collect($channels)
->reject->hasConnections() ->reject->hasConnections()