Skip to content

Commit

Permalink
Removed unused break
Browse files Browse the repository at this point in the history
  • Loading branch information
svyrydenko committed Oct 30, 2017
1 parent dcdba38 commit e8d1ae0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -189,8 +189,6 @@ public function handle(): void
if ($data['opcode'] == Frame::TEXT) {
$this->onDirectMessage($data['payload'], (int)$changedSocket);
}

break;
}
}
}
Expand Down

0 comments on commit e8d1ae0

Please sign in to comment.