@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | $this->publishes([ |
29 | 29 | __DIR__.'/config' => realpath('config'), |
30 | 30 | __DIR__.'/Routes/published' => realpath('routes'), |
31 | - ],'laravel-ratchet'); |
|
31 | + ], 'laravel-ratchet'); |
|
32 | 32 | |
33 | 33 | if ($this->app['config']->get('laravel-ratchet') === null) { |
34 | 34 | $this->app['config']->set('laravel-ratchet', require __DIR__.'/config/laravel-ratchet.php'); |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | */ |
43 | 43 | public function register() |
44 | 44 | { |
45 | - $this->app->bind('WsRoute',function (){ |
|
45 | + $this->app->bind('WsRoute', function() { |
|
46 | 46 | return new Routes(); |
47 | 47 | }); |
48 | 48 | } |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | $this->userAuthSocketMapper = []; |
47 | 47 | |
48 | 48 | $this->mainRoutes(); |
49 | - include base_path() . '/routes/websocket.php'; |
|
49 | + include base_path().'/routes/websocket.php'; |
|
50 | 50 | $this->routes = WsRoute::getRoutes(); |
51 | 51 | } |
52 | 52 | |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | |
76 | 76 | $this->checkForRequiredInMessage($msg, $from); |
77 | 77 | |
78 | - if(isset($msg->session)) |
|
78 | + if (isset($msg->session)) |
|
79 | 79 | { |
80 | 80 | \Session::setId($msg->session); |
81 | 81 |