From 3f6aa42b817145a3b00f4d615f87728b55c4413a Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sat, 1 Jan 2022 11:26:56 +0100 Subject: Fix most PHPDocs errors (#4107) Contributes to https://github.com/FreshRSS/FreshRSS/issues/4103 https://phpstan.org/writing-php-code/phpdoc-types --- app/Utils/feverUtil.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'app/Utils/feverUtil.php') diff --git a/app/Utils/feverUtil.php b/app/Utils/feverUtil.php index 83921943c..a7d21dacb 100644 --- a/app/Utils/feverUtil.php +++ b/app/Utils/feverUtil.php @@ -23,7 +23,7 @@ class FreshRSS_fever_Util { /** * Return the corresponding path for a fever key. * - * @param string + * @param string $feverKey * @return string */ public static function getKeyPath($feverKey) { @@ -34,9 +34,9 @@ class FreshRSS_fever_Util { /** * Update the fever key of a user. * - * @param string - * @param string - * @return string the Fever key, or false if the update failed + * @param string $username + * @param string $passwordPlain + * @return string|false the Fever key, or false if the update failed */ public static function updateKey($username, $passwordPlain) { $ok = self::checkFeverPath(); @@ -60,7 +60,7 @@ class FreshRSS_fever_Util { /** * Delete the Fever key of a user. * - * @param string + * @param string $username * @return boolean true if the deletion succeeded, else false. */ public static function deleteKey($username) { -- cgit v1.2.3