From b0169769a46c56b2f83fe5a2bdf3571b2885ee07 Mon Sep 17 00:00:00 2001
From: Agustin Villalba <avillalbacasas@gmail.com>
Date: Mon, 8 Jan 2018 12:08:10 +0100
Subject: [PATCH] Solves PSR-2 compliant issues

---
 config-templates/authsources.php          | 4 ++--
 modules/core/lib/Auth/UserPassOrgBase.php | 6 ++++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/config-templates/authsources.php b/config-templates/authsources.php
index 0ba9c7eac..643c33221 100644
--- a/config-templates/authsources.php
+++ b/config-templates/authsources.php
@@ -355,8 +355,8 @@ $config = array(
         //'remember.username.checked' => FALSE,
 
         // Give the user an option to save their organization choice for future login
-		// attempts. And when enabled, what should the default be, checked or not.
-		//'remember.organization.enabled' => false,
+        // attempts. And when enabled, what should the default be, checked or not.
+        //'remember.organization.enabled' => false,
         //'remember.organization.checked' => false,
 
         // The way the organization as part of the username should be handled.
diff --git a/modules/core/lib/Auth/UserPassOrgBase.php b/modules/core/lib/Auth/UserPassOrgBase.php
index 15351edc3..ad15f86b3 100644
--- a/modules/core/lib/Auth/UserPassOrgBase.php
+++ b/modules/core/lib/Auth/UserPassOrgBase.php
@@ -158,7 +158,8 @@ abstract class sspmod_core_Auth_UserPassOrgBase extends SimpleSAML_Auth_Source {
 	 * Getter for the authsource config option remember.username.checked
 	 * @return bool
 	 */
-	public function getRememberUsernameChecked() {
+	public function getRememberUsernameChecked()
+    {
 		return $this->rememberUsernameChecked;
 	}
 
@@ -166,7 +167,8 @@ abstract class sspmod_core_Auth_UserPassOrgBase extends SimpleSAML_Auth_Source {
      * Getter for the authsource config option remember.organization.enabled
      * @return bool
      */
-	public function getRememberOrganizationEnabled() {
+	public function getRememberOrganizationEnabled()
+    {
 		return $this->rememberOrganizationEnabled;
 	}
 
-- 
GitLab