aboutsummaryrefslogtreecommitdiff
path: root/app/Utils
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
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')
-rw-r--r--app/Utils/feverUtil.php10
-rw-r--r--app/Utils/passwordUtil.php2
2 files changed, 6 insertions, 6 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) {
diff --git a/app/Utils/passwordUtil.php b/app/Utils/passwordUtil.php
index e382f76f5..cff97d2bc 100644
--- a/app/Utils/passwordUtil.php
+++ b/app/Utils/passwordUtil.php
@@ -8,7 +8,7 @@ class FreshRSS_password_Util {
/**
* Return a hash of a plain password, using BCRYPT
*
- * @param string
+ * @param string $passwordPlain
* @return string
*/
public static function hash($passwordPlain) {