From b55825cebb6ced1fb239d668f8e64402897d469c Mon Sep 17 00:00:00 2001 From: Scrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com> Date: Sun, 5 Sep 2021 21:17:53 +0000 Subject: [PATCH] Scrutinizer Auto-Fixes This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com --- lib/SimpleSAML/Module.php | 2 +- modules/admin/lib/Controller/Config.php | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/SimpleSAML/Module.php b/lib/SimpleSAML/Module.php index 6388cc800..8b1d9dde8 100644 --- a/lib/SimpleSAML/Module.php +++ b/lib/SimpleSAML/Module.php @@ -351,7 +351,7 @@ class Module throw new \Exception("Invalid module.enable value for the '$module' module."); } - $core_module = array_key_exists($module, self::$core_modules) ? true : false; + $core_module = array_key_exists($module, self::$core_modules) ? true : false; self::$module_info[$module]['enabled'] = $core_module ? true : false; return $core_module ? true : false; diff --git a/modules/admin/lib/Controller/Config.php b/modules/admin/lib/Controller/Config.php index 721d9b34e..51915c493 100644 --- a/modules/admin/lib/Controller/Config.php +++ b/modules/admin/lib/Controller/Config.php @@ -350,11 +350,11 @@ class Config try { $metadata = $handler->getMetaDataCurrent('saml20-idp-hosted'); } catch (Exception $e) { - $matrix[] = [ - 'required' => 'required', - 'descr' => Translate::noop('Hosted IdP metadata present'), - 'enabled' => false - ]; + $matrix[] = [ + 'required' => 'required', + 'descr' => Translate::noop('Hosted IdP metadata present'), + 'enabled' => false + ]; } if (isset($metadata)) { -- GitLab