Skip to content
Snippets Groups Projects
Commit 1b5c61ac authored by Andrew Dolgov's avatar Andrew Dolgov
Browse files

userhelper: add a phpdoc variable class hint

parent 01b39d98
No related branches found
No related tags found
No related merge requests found
...@@ -334,6 +334,8 @@ class UserHelper { ...@@ -334,6 +334,8 @@ class UserHelper {
} }
static function is_default_password(): bool { static function is_default_password(): bool {
/** @var Auth_Internal|false $authenticator -- this is only here to make check_password() visible to static analyzer */
$authenticator = PluginHost::getInstance()->get_plugin($_SESSION["auth_module"]); $authenticator = PluginHost::getInstance()->get_plugin($_SESSION["auth_module"]);
if ($authenticator && if ($authenticator &&
......
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