1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 01:25:56 +00:00

deal with phpstan warnings related to base authentication modules

This commit is contained in:
Andrew Dolgov
2021-11-14 10:48:32 +03:00
parent 5a50c333b2
commit 81a10f69bc
4 changed files with 30 additions and 3 deletions

View File

@@ -8,7 +8,6 @@ abstract class Auth_Base extends Plugin implements IAuthModule {
$this->pdo = Db::pdo();
}
// compatibility wrapper, because of how pluginhost works (hook name == method name)
function hook_auth_user(...$args) {
return $this->authenticate(...$args);
}