Passed
Pull Request — 3.0 (#1115)
by
unknown
04:22
created
lib/SP/Providers/Auth/Ldap/LdapMsAds.php 1 patch
Braces   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -52,10 +52,11 @@
 block discarded – undo
52 52
     public function getGroupMembershipFilter(): string
53 53
     {
54 54
         if (empty($this->ldapParams->getGroup())) {
55
-            if ($this->ldapParams->IsAzure())
56
-                return self::FILTER_USER_OBJECT_AZURE;
57
-            else
58
-                return self::FILTER_USER_OBJECT;
55
+            if ($this->ldapParams->IsAzure()) {
56
+                            return self::FILTER_USER_OBJECT_AZURE;
57
+            } else {
58
+                            return self::FILTER_USER_OBJECT;
59
+            }
59 60
         }
60 61
 
61 62
         if ($this->ldapParams->IsAzure()) {
Please login to merge, or discard this patch.
lib/SP/Providers/Auth/Ldap/LdapParams.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -233,7 +233,7 @@
 block discarded – undo
233 233
      */
234 234
     public function setAzure($azure)
235 235
     {
236
-        $this->azure= (bool)$azure;
236
+        $this->azure = (bool)$azure;
237 237
 
238 238
         return $this;
239 239
     }
Please login to merge, or discard this patch.