diff --git a/lib/SimpleSAML/Module.php b/lib/SimpleSAML/Module.php
index 6388cc80066b7163bc9d5d07420fe848156b19a5..8b1d9dde8fb7e9ad26e8909d6f899e72e3e29494 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 721d9b34e4a20a4d4a8592a3643a6dd4d0a9535b..51915c4938578aa90ad2f811d3297124bc51eaee 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)) {