Skip to content

Commit

Permalink
Update EventHandler.php
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell authored Oct 24, 2024
1 parent 571fc29 commit 1dda2f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Protocols/Pusher/EventHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ public function pong(Connection $connection): void
*/
public function ping(Connection $connection): void
{
$connection->usesControlFrames() ?
$connection->control() :
static::send($connection, 'ping');
$connection->usesControlFrames()
? $connection->control()
: static::send($connection, 'ping');

$connection->ping();
}
Expand Down

0 comments on commit 1dda2f6

Please sign in to comment.