From 1dda2f6e16d63643710007d8531647932c12110c Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 24 Oct 2024 10:00:01 -0500 Subject: [PATCH] Update EventHandler.php --- src/Protocols/Pusher/EventHandler.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Protocols/Pusher/EventHandler.php b/src/Protocols/Pusher/EventHandler.php index c8f179f7..a9c66857 100644 --- a/src/Protocols/Pusher/EventHandler.php +++ b/src/Protocols/Pusher/EventHandler.php @@ -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(); }