1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-29 17:31:29 +00:00

deal with (most of) phpstan warnings in auth_internal and auth_remote

This commit is contained in:
Andrew Dolgov
2021-11-14 21:09:53 +03:00
parent 67a89e861d
commit f537502fce
2 changed files with 20 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ class Auth_Remote extends Auth_Base {
$host->add_hook($host::HOOK_AUTH_USER, $this);
}
function get_login_by_ssl_certificate() {
function get_login_by_ssl_certificate() : string {
$cert_serial = Pref_Prefs::_get_ssl_certificate_id();
if ($cert_serial) {