From f537502fce498118543d47b3d1cb463104f25b1d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 14 Nov 2021 21:09:53 +0300 Subject: deal with (most of) phpstan warnings in auth_internal and auth_remote --- plugins/auth_remote/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/auth_remote/init.php') diff --git a/plugins/auth_remote/init.php b/plugins/auth_remote/init.php index 35ee9e31d..9c15d3368 100644 --- a/plugins/auth_remote/init.php +++ b/plugins/auth_remote/init.php @@ -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) { -- cgit v1.2.3-54-g00ecf