Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
kelunik committed Jan 25, 2019
1 parent 3d177ff commit 9951dde
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/broadcast-server/server.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@

require __DIR__ . '/../../vendor/autoload.php';

$websocket = new class extends Websocket
{
$websocket = new class extends Websocket {
public function onHandshake(Request $request, Response $response)
{
if (!\in_array($request->getHeader('origin'), ['http://localhost:1337', 'http://127.0.0.1:1337', 'http://[::1]:1337'], true)) {
Expand Down

0 comments on commit 9951dde

Please sign in to comment.