@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | */ |
| 34 | 34 | protected function registerSocketCluster() |
| 35 | 35 | { |
| 36 | - $this->app->singleton('SocketCluster', function ($app) { |
|
| 36 | + $this->app->singleton('SocketCluster', function($app) { |
|
| 37 | 37 | $config = $app['config']['broadcasting']['connections']['socketcluster']; |
| 38 | 38 | $websocket = WebSocket::factory($config); |
| 39 | 39 | return new SocketCluster($websocket); |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | { |
| 52 | 52 | $this->app |
| 53 | 53 | ->make(BroadcastManager::class) |
| 54 | - ->extend('socketcluster', function ($app) { |
|
| 54 | + ->extend('socketcluster', function($app) { |
|
| 55 | 55 | return new SCBroadcaster($app['SocketCluster']); |
| 56 | 56 | }); |
| 57 | 57 | } |