@@ -7,9 +7,18 @@ |
||
7 | 7 | /** @return array[BeyondCode\LaravelWebSockets\AppProviders\App] */ |
8 | 8 | public function all(): array; |
9 | 9 | |
10 | + /** |
|
11 | + * @return null|App |
|
12 | + */ |
|
10 | 13 | public function findById($appId): ?App; |
11 | 14 | |
15 | + /** |
|
16 | + * @return null|App |
|
17 | + */ |
|
12 | 18 | public function findByKey(string $appKey): ?App; |
13 | 19 | |
20 | + /** |
|
21 | + * @return null|App |
|
22 | + */ |
|
14 | 23 | public function findBySecret(string $appSecret): ?App; |
15 | 24 | } |
@@ -27,6 +27,9 @@ |
||
27 | 27 | return $this->resolveInternal($domain, $type); |
28 | 28 | } |
29 | 29 | |
30 | + /** |
|
31 | + * @param string $domain |
|
32 | + */ |
|
30 | 33 | private function resolveInternal($domain, $type = null) |
31 | 34 | { |
32 | 35 | return new FulfilledPromise($this->internalIP); |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | } |
73 | 73 | |
74 | 74 | /** |
75 | - * @return mixed |
|
75 | + * @return WebSocketsServiceProvider |
|
76 | 76 | */ |
77 | 77 | protected function registerRoutes() |
78 | 78 | { |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | } |
94 | 94 | |
95 | 95 | /** |
96 | - * @return mixed |
|
96 | + * @return WebSocketsServiceProvider |
|
97 | 97 | */ |
98 | 98 | protected function registerDashboardGate() |
99 | 99 | { |