Passed
Push — scrutinizer ( 2593e2...28f774 )
by
unknown
10:46
created
src/Client.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
             $return = $classPass;
172 172
             return $return;
173 173
         } catch (Exception $e) {
174
-            throw new RestException($e->getMessage());;
174
+            throw new RestException($e->getMessage()); ;
175 175
         }
176 176
     }
177 177
     
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
     public function getLocation($locationId)
305 305
     {
306 306
         $this->apiResource = $this->apiVersion . '/locations';
307
-        if(!empty($locationId && !$this->Valdator->validId($locationId, 'location'))) {
307
+        if (!empty($locationId && !$this->Valdator->validId($locationId, 'location'))) {
308 308
             throw new ValidationException();
309 309
         }
310 310
         
Please login to merge, or discard this patch.