@@ -16,7 +16,7 @@ |
||
16 | 16 | */ |
17 | 17 | public function register(Container $app) |
18 | 18 | { |
19 | - $app['socketcluster'] = function ($app) { |
|
19 | + $app['socketcluster'] = function($app) { |
|
20 | 20 | $websocket = WebSocket::factory($app['socketcluster.options']); |
21 | 21 | return new SocketCluster($websocket); |
22 | 22 | }; |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | */ |
36 | 36 | protected function registerSocketCluster() |
37 | 37 | { |
38 | - $this->app->singleton('SocketCluster', function ($app) { |
|
38 | + $this->app->singleton('SocketCluster', function($app) { |
|
39 | 39 | $config = $app['config']['broadcasting']['connections']['socketcluster']['options']; |
40 | 40 | $websocket = WebSocket::factory($config); |
41 | 41 | return new SocketCluster($websocket); |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | { |
54 | 54 | $this->app |
55 | 55 | ->make(BroadcastManager::class) |
56 | - ->extend('socketcluster', function ($app) { |
|
56 | + ->extend('socketcluster', function($app) { |
|
57 | 57 | return new SCBroadcaster($app['SocketCluster']); |
58 | 58 | }); |
59 | 59 | } |