1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-12 22:35:55 +00:00

userhelper: add a phpdoc variable class hint

This commit is contained in:
Andrew Dolgov
2021-11-14 18:02:20 +03:00
parent 01b39d985c
commit 1b5c61ac85

View File

@@ -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 &&