mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 08:15:58 +00:00
userhelper: add a phpdoc variable class hint
This commit is contained in:
@@ -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 &&
|
||||||
|
|||||||
Reference in New Issue
Block a user