Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Commit

Permalink
style fix
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbuehler committed Mar 4, 2021
1 parent 6b6197f commit 0dc2db1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ChannelManagers/LocalChannelManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,9 @@ public function unsubscribeFromAllChannels(ConnectionInterface $connection): Pro
$this->getLocalChannels($connection->app->id)
->then(function ($channels) use ($connection) {
collect($channels)
->each(function (Channel $channel) use ($connection) {
$channel->unsubscribe($connection);
});
->each(function (Channel $channel) use ($connection) {
$channel->unsubscribe($connection);
});

collect($channels)
->reject->hasConnections()
Expand Down

0 comments on commit 0dc2db1

Please sign in to comment.