@@ -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); |
@@ -111,7 +111,7 @@ |
||
| 111 | 111 | * Decode the given Pusher response. |
| 112 | 112 | * |
| 113 | 113 | * @param \Illuminate\Http\Request $request |
| 114 | - * @param mixed $response |
|
| 114 | + * @param string $response |
|
| 115 | 115 | * @return array |
| 116 | 116 | */ |
| 117 | 117 | protected function decodePusherResponse($request, $response) |