Fix docblocks in App

Frankly, I don't understand why the typing was removed from these methods in https://github.com/beyondcode/laravel-websockets/pull/471, seems like a strange decision.
This commit is contained in:
Francis Lavoie 2020-09-03 21:10:00 -04:00 committed by GitHub
parent e9b85bbfc7
commit 25ff1d668c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -39,7 +39,7 @@ class App
/**
* Find the app by id.
*
* @param mixed $appId
* @param int $appId
* @return \BeyondCode\LaravelWebSockets\Apps\App|null
*/
public static function findById($appId)
@ -50,7 +50,7 @@ class App
/**
* Find the app by app key.
*
* @param mixed $appId
* @param string $appKey
* @return \BeyondCode\LaravelWebSockets\Apps\App|null
*/
public static function findByKey($appKey): ?self
@ -61,7 +61,7 @@ class App
/**
* Find the app by app secret.
*
* @param mixed $appId
* @param string $appSecret
* @return \BeyondCode\LaravelWebSockets\Apps\App|null
*/
public static function findBySecret($appSecret): ?self
@ -72,9 +72,9 @@ class App
/**
* Initialize the Web Socket app instance.
*
* @param mixed $appId
* @param mixed $key
* @param mixed $secret
* @param int $appId
* @param string $key
* @param string $secret
* @return void
* @throws \BeyondCode\LaravelWebSockets\Exceptions\InvalidApp
*/