Skip to content
Snippets Groups Projects
Commit 8943604a authored by wn_'s avatar wn_
Browse files

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.
parent 324d926e
No related branches found
No related tags found
No related merge requests found
...@@ -348,7 +348,7 @@ class UserHelper { ...@@ -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.
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment