Completed
Push — master ( 09a82c...14e52c )
by Mike
02:28
created
src/SugarAPI.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -78,9 +78,9 @@  discard block
 block discarded – undo
78 78
      * Configure the static property $_DEFAULTS with settings from defaults.php
79 79
      */
80 80
     protected function loadDefaults(){
81
-        if (empty(static::$_DEFAULTS)) {
82
-            include __DIR__ . DIRECTORY_SEPARATOR . 'defaults.php';
83
-            if (isset($defaults)) {
81
+        if (empty(static::$_DEFAULTS)){
82
+            include __DIR__.DIRECTORY_SEPARATOR.'defaults.php';
83
+            if (isset($defaults)){
84 84
                 static::$_DEFAULTS = $defaults;
85 85
             }
86 86
         }
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
         $response = $EP->data($this->authOptions)->execute()->getResponse();
169 169
         if ($response->getStatus()=='200'){
170 170
             $this->authToken = $response->getBody();
171
-        } else{
171
+        }else{
172 172
             throw new AuthenticationException($response->getBody());
173 173
         }
174 174
     }
Please login to merge, or discard this patch.