diff options
author | Andrew Dolgov <[email protected]> | 2021-11-14 18:02:20 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-11-14 18:02:20 +0300 |
commit | 1b5c61ac85f1fbc7b437ba018f1acad08553bdeb (patch) | |
tree | ce27b3d2e8a27797613ab1d6fb5c759fa4411248 /classes | |
parent | 01b39d985c9f194a35c690a18149cbb06fc7b0d3 (diff) |
userhelper: add a phpdoc variable class hint
Diffstat (limited to 'classes')
-rw-r--r-- | classes/userhelper.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/userhelper.php b/classes/userhelper.php index c09cabb12..0217a8927 100644 --- a/classes/userhelper.php +++ b/classes/userhelper.php @@ -334,6 +334,8 @@ class UserHelper { } 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"]); if ($authenticator && |