From 25ff1d668c182469d597a61fd34e80ac78095388 Mon Sep 17 00:00:00 2001 From: Francis Lavoie Date: Thu, 3 Sep 2020 21:10:00 -0400 Subject: [PATCH] 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. --- src/Apps/App.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Apps/App.php b/src/Apps/App.php index ae23f4d..fa3d4af 100644 --- a/src/Apps/App.php +++ b/src/Apps/App.php @@ -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 */