mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-19 01:01:28 +00:00
Change the param type for UserHelper::hash_password() $algo to appease PHPStan.
PHPStan was complaining in 'plugins/auth_internal/init.php' due to UserHelper::hash_password() being passed a string, rather than a UserHelper::HASH_ALGO_* constant. Just switching the param to string for now.
This commit is contained in:
@@ -348,7 +348,7 @@ class UserHelper {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param UserHelper::HASH_ALGO_* $algo
|
* @param string $algo should be one of UserHelper::HASH_ALGO_*
|
||||||
*
|
*
|
||||||
* @return false|string False if the password couldn't be hashed, otherwise the hash string.
|
* @return false|string False if the password couldn't be hashed, otherwise the hash string.
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user