From a77e15270c145914aa3eef957b8d2e8b6806d15d Mon Sep 17 00:00:00 2001 From: mjansen Date: Thu, 8 Aug 2024 13:00:47 +0200 Subject: [PATCH] Auth: Fix code style (cherry picked from commit 070351655517213cc801a6837c5e1efc3266325b) (cherry picked from commit bc7f759b7cbb90133410bcf9701e7e4ebc79741d) --- .../Frontend/class.ilAuthFrontendCLI.php | 26 +++++++------------ 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/components/ILIAS/Authentication/classes/Frontend/class.ilAuthFrontendCLI.php b/components/ILIAS/Authentication/classes/Frontend/class.ilAuthFrontendCLI.php index 2e44967c8440..ef041be8317d 100755 --- a/components/ILIAS/Authentication/classes/Frontend/class.ilAuthFrontendCLI.php +++ b/components/ILIAS/Authentication/classes/Frontend/class.ilAuthFrontendCLI.php @@ -1,7 +1,5 @@ - * - */ +declare(strict_types=1); + class ilAuthFrontendCLI extends ilAuthFrontend implements ilAuthFrontendInterface { - /** - * This overwrites ilAuthFrontend::checkIp used in ilAuthFrontend::authenticate - * since CLI does not set $_SERVER['REMOTE_ADDR']! - */ - protected function checkIp(ilObjUser $user): bool - { - return true; - } + /** + * This overwrites ilAuthFrontend::checkIp used in ilAuthFrontend::authenticate + * since CLI does not set $_SERVER['REMOTE_ADDR']! + */ + protected function checkIp(ilObjUser $user): bool + { + return true; + } }