@@ -17,7 +17,7 @@ |
||
17 | 17 | /** |
18 | 18 | * Construct |
19 | 19 | * |
20 | - * @param SocketCluster\SocketCluster $socketcluster |
|
20 | + * @param SocketCluster $socketcluster |
|
21 | 21 | * |
22 | 22 | * @param void |
23 | 23 | */ |
@@ -20,7 +20,7 @@ |
||
20 | 20 | /** |
21 | 21 | * Construct |
22 | 22 | * |
23 | - * @param WebSocket\Client $websocket |
|
23 | + * @param Client $websocket |
|
24 | 24 | */ |
25 | 25 | public function __construct(Client $websocket) |
26 | 26 | { |
@@ -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 | } |