From eb1887180da87619ea512c183a2e6839526dbe4a Mon Sep 17 00:00:00 2001 From: Joe Dixon Date: Tue, 23 Jan 2024 15:09:23 +0000 Subject: [PATCH] wip --- src/Servers/Reverb/Connection.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Servers/Reverb/Connection.php b/src/Servers/Reverb/Connection.php index 18c40de6..3167c9ee 100644 --- a/src/Servers/Reverb/Connection.php +++ b/src/Servers/Reverb/Connection.php @@ -71,11 +71,11 @@ public function openBuffer(): void */ public function send(mixed $message): void { - $message = $message instanceof DataInterface ? - $message->getContents() : - (new Frame($message))->getContents(); - - $this->connection->send($message); + $this->connection->send( + $message instanceof DataInterface ? + $message->getContents() : + (new Frame($message))->getContents() + ); } /**