@@ -83,7 +83,6 @@ |
||
83 | 83 | /** |
84 | 84 | * Map the app into an App instance. |
85 | 85 | * |
86 | - * @param array|null $app |
|
87 | 86 | * @return \BeyondCode\LaravelWebSockets\Apps\App|null |
88 | 87 | */ |
89 | 88 | protected function instantiate(?array $appAttributes): ?App |
@@ -185,7 +185,7 @@ |
||
185 | 185 | /** |
186 | 186 | * Configure the replicators. |
187 | 187 | * |
188 | - * @return void |
|
188 | + * @return StartWebSocketServer |
|
189 | 189 | */ |
190 | 190 | public function configurePubSub() |
191 | 191 | { |
@@ -227,7 +227,7 @@ |
||
227 | 227 | * Ensure signature integrity coming from an |
228 | 228 | * authorized application. |
229 | 229 | * |
230 | - * @param \GuzzleHttp\Psr7\ServerRequest $request |
|
230 | + * @param Request $request |
|
231 | 231 | * @return $this |
232 | 232 | * @throws \Symfony\Component\HttpKernel\Exception\HttpException |
233 | 233 | */ |
@@ -38,7 +38,7 @@ |
||
38 | 38 | * Handle the incoming request. |
39 | 39 | * |
40 | 40 | * @param \Illuminate\Http\Request $request |
41 | - * @return \Illuminate\Http\Response |
|
41 | + * @return \React\Promise\PromiseInterface |
|
42 | 42 | */ |
43 | 43 | public function __invoke(Request $request) |
44 | 44 | { |
@@ -16,8 +16,7 @@ |
||
16 | 16 | /** |
17 | 17 | * Create a new instance and add a connection to watch. |
18 | 18 | * |
19 | - * @param \Ratchet\ConnectionInterface $connection |
|
20 | - * @return self |
|
19 | + * @return ConnectionInterface |
|
21 | 20 | */ |
22 | 21 | public static function decorate(ConnectionInterface $app): self |
23 | 22 | { |
@@ -20,8 +20,8 @@ discard block |
||
20 | 20 | /** |
21 | 21 | * Create a new instance and add the app to watch. |
22 | 22 | * |
23 | - * @param \Ratchet\MessageComponentInterface $app |
|
24 | - * @return self |
|
23 | + * @param MessageComponentInterface $app |
|
24 | + * @return \Ratchet\ComponentInterface |
|
25 | 25 | */ |
26 | 26 | public static function decorate(MessageComponentInterface $app): self |
27 | 27 | { |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | /** |
34 | 34 | * Set a new app to watch. |
35 | 35 | * |
36 | - * @param \Ratchet\MessageComponentInterface $app |
|
36 | + * @param MessageComponentInterface $app |
|
37 | 37 | * @return $this |
38 | 38 | */ |
39 | 39 | public function setApp(MessageComponentInterface $app) |
@@ -31,7 +31,7 @@ |
||
31 | 31 | * |
32 | 32 | * @param mixed $appId |
33 | 33 | * @param string $channelName |
34 | - * @return \BeyondCode\LaravelWebSockets\WebSockets\Channels |
|
34 | + * @return Channel |
|
35 | 35 | */ |
36 | 36 | public function findOrCreate($appId, string $channelName): Channel |
37 | 37 | { |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | /** |
115 | 115 | * Register the dashboard routes. |
116 | 116 | * |
117 | - * @return void |
|
117 | + * @return WebSocketsServiceProvider |
|
118 | 118 | */ |
119 | 119 | protected function registerDashboardRoutes() |
120 | 120 | { |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | /** |
136 | 136 | * Register the dashboard gate. |
137 | 137 | * |
138 | - * @return void |
|
138 | + * @return WebSocketsServiceProvider |
|
139 | 139 | */ |
140 | 140 | protected function registerDashboardGate() |
141 | 141 | { |
@@ -376,7 +376,7 @@ |
||
376 | 376 | * Get the Pub/Sub Topic name to subscribe based on the |
377 | 377 | * app ID and channel name. |
378 | 378 | * |
379 | - * @param mixed $appId |
|
379 | + * @param string $appId |
|
380 | 380 | * @param string $channel |
381 | 381 | * @return string |
382 | 382 | */ |