Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
chipslays committed Jan 17, 2024
1 parent 8e71ae5 commit df39659
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Server/Channel.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public function join(Connection|Connections|array $connections): self

$connections = is_array($connections) ? $connections : [$connections];

/** @var Connection $connection */
foreach ($connections as $connection) {
$this->connections->add($connection);

Expand Down Expand Up @@ -93,6 +94,7 @@ public function leave(Connection|Connections|array $connections): self

$connections = is_array($connections) ? $connections : [$connections];

/** @var Connection $connection */
foreach ($connections as $connection) {
if (!$this->exists($connection)) {
continue;
Expand Down

0 comments on commit df39659

Please sign in to comment.