Passed
Branch master (deee8f)
by Mathieu
02:38
created
Integration/LdapAuthIntegration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
         if ($ssl) {
110 110
             if (substr($hostname, 0, 7) === 'ldap://') {
111 111
                 $hostname = str_replace('ldap://', 'ldaps://', $hostname);
112
-            } elseif(!substr($hostname, 0, 8) !== 'ldaps://') {
112
+            } elseif (!substr($hostname, 0, 8) !== 'ldaps://') {
113 113
                 $hostname = 'ldaps://' . $hostname;
114 114
             }
115 115
         }
Please login to merge, or discard this patch.