Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit 25ff1d6

Browse files
Fix docblocks in App
Frankly, I don't understand why the typing was removed from these methods in #471, seems like a strange decision.
1 parent e9b85bb commit 25ff1d6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/Apps/App.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class App
3939
/**
4040
* Find the app by id.
4141
*
42-
* @param mixed $appId
42+
* @param int $appId
4343
* @return \BeyondCode\LaravelWebSockets\Apps\App|null
4444
*/
4545
public static function findById($appId)
@@ -50,7 +50,7 @@ public static function findById($appId)
5050
/**
5151
* Find the app by app key.
5252
*
53-
* @param mixed $appId
53+
* @param string $appKey
5454
* @return \BeyondCode\LaravelWebSockets\Apps\App|null
5555
*/
5656
public static function findByKey($appKey): ?self
@@ -61,7 +61,7 @@ public static function findByKey($appKey): ?self
6161
/**
6262
* Find the app by app secret.
6363
*
64-
* @param mixed $appId
64+
* @param string $appSecret
6565
* @return \BeyondCode\LaravelWebSockets\Apps\App|null
6666
*/
6767
public static function findBySecret($appSecret): ?self
@@ -72,9 +72,9 @@ public static function findBySecret($appSecret): ?self
7272
/**
7373
* Initialize the Web Socket app instance.
7474
*
75-
* @param mixed $appId
76-
* @param mixed $key
77-
* @param mixed $secret
75+
* @param int $appId
76+
* @param string $key
77+
* @param string $secret
7878
* @return void
7979
* @throws \BeyondCode\LaravelWebSockets\Exceptions\InvalidApp
8080
*/

0 commit comments

Comments
 (0)