summaryrefslogtreecommitdiff
path: root/classes/userhelper.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-11-14 18:02:20 +0300
committerAndrew Dolgov <[email protected]>2021-11-14 18:02:20 +0300
commit1b5c61ac85f1fbc7b437ba018f1acad08553bdeb (patch)
treece27b3d2e8a27797613ab1d6fb5c759fa4411248 /classes/userhelper.php
parent01b39d985c9f194a35c690a18149cbb06fc7b0d3 (diff)
userhelper: add a phpdoc variable class hint
Diffstat (limited to 'classes/userhelper.php')
-rw-r--r--classes/userhelper.php2
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 &&