From e8d1ae0c0912a12fa036401fbdb47693777b46dd Mon Sep 17 00:00:00 2001 From: svyrydenko Date: Mon, 30 Oct 2017 16:03:09 +0200 Subject: [PATCH] Removed unused break --- src/Worker.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Worker.php b/src/Worker.php index 48b4a5a..33239dd 100644 --- a/src/Worker.php +++ b/src/Worker.php @@ -131,7 +131,7 @@ protected function onDirectMessage(string $message, int $socketId): void * @param string $message * @return void */ - protected function onFilteredMessage(string $message):void + protected function onFilteredMessage(string $message): void { $this->sendToAll(Frame::encode($message), false); } @@ -189,8 +189,6 @@ public function handle(): void if ($data['opcode'] == Frame::TEXT) { $this->onDirectMessage($data['payload'], (int)$changedSocket); } - - break; } } }