aboutsummaryrefslogtreecommitdiff
path: root/app/Utils/feverUtil.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2022-01-01 11:26:56 +0100
committerGravatar GitHub <noreply@github.com> 2022-01-01 11:26:56 +0100
commit3f6aa42b817145a3b00f4d615f87728b55c4413a (patch)
treee5b31941b0acc3a2f4c47e4846afcfe987b9852f /app/Utils/feverUtil.php
parent77e9877316fcfacb26799afdf32d94c8411da80e (diff)
Fix most PHPDocs errors (#4107)
Contributes to https://github.com/FreshRSS/FreshRSS/issues/4103 https://phpstan.org/writing-php-code/phpdoc-types
Diffstat (limited to 'app/Utils/feverUtil.php')
-rw-r--r--app/Utils/feverUtil.php10
1 files changed, 5 insertions, 5 deletions
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) {