Completed
Push — master ( 5d1c26...d793ff )
by Tobias
02:19
created
examples/all.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,8 +65,7 @@
 block discarded – undo
65 65
   $ret_aut = $ipa->authenticate( $usuario, $senha );
66 66
   if ( TRUE === $ret_aut['autenticado'] ) { // usuário está autenticado
67 67
     _print( $ret_aut['mensagem'] );
68
-  }
69
-  else {
68
+  } else {
70 69
     _print( $ret_aut['mensagem'] );
71 70
     // Para debug:
72 71
     var_dump($ret_aut);
Please login to merge, or discard this patch.
src/APIAccess/Core.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -189,8 +189,7 @@
 block discarded – undo
189 189
 
190 190
         if ( ! empty($server) && ! $this->setIPAServer($server) ) {
191 191
             throw new \Exception("Error while validating the server");
192
-        }
193
-        else if ( ! empty($certificate) && ! $this->setCertificateFile($certificate) ) {
192
+        } else if ( ! empty($certificate) && ! $this->setCertificateFile($certificate) ) {
194 193
             throw new \Exception("Error while validating the certificate");
195 194
         }
196 195
 
Please login to merge, or discard this patch.