@@ -141,7 +141,7 @@ |
||
| 141 | 141 | * @param string $user |
| 142 | 142 | * @return mixed |
| 143 | 143 | */ |
| 144 | - public function unsubscribe(string $channel, string $user) |
|
| 144 | + public function unsubscribe(string $channel, string $user) |
|
| 145 | 145 | { |
| 146 | 146 | return $this->send('unsubscribe', [ |
| 147 | 147 | 'channel' => $channel, |
@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | */ |
| 16 | 16 | public function boot(BroadcastManager $broadcastManager) |
| 17 | 17 | { |
| 18 | - $broadcastManager->extend('centrifugo', function ($app) { |
|
| 18 | + $broadcastManager->extend('centrifugo', function($app) { |
|
| 19 | 19 | return new LaracentBroadcaster($app->make('centrifugo')); |
| 20 | 20 | }); |
| 21 | 21 | } |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | */ |
| 28 | 28 | public function register() |
| 29 | 29 | { |
| 30 | - $this->app->singleton('centrifugo', function ($app) { |
|
| 30 | + $this->app->singleton('centrifugo', function($app) { |
|
| 31 | 31 | $config = $app->make('config')->get('broadcasting.connections.centrifugo'); |
| 32 | 32 | $http = new HttpClient(); |
| 33 | 33 | return new Laracent($config, $http); |