Passed
Push — scrutinizer ( b4929d...d560e4 )
by
unknown
10:32
created
src/Client.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
             $return = $classPass;
171 171
             return $return;
172 172
         } catch (Exception $e) {
173
-            throw new RestException($e->getMessage());;
173
+            throw new RestException($e->getMessage()); ;
174 174
         }
175 175
     }
176 176
     
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
     public function getLocation($locationId)
304 304
     {
305 305
         $this->apiResource = $this->apiVersion . '/locations';
306
-        if(!empty($eventId && !$this->Valdator->validId($locationId, 'location'))) {
306
+        if (!empty($eventId && !$this->Valdator->validId($locationId, 'location'))) {
307 307
             throw ValidationException::class;
308 308
         }
309 309
         
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -351,7 +351,7 @@
 block discarded – undo
351 351
      * @see \InShore\BookWhen\Interfaces\ClientInterface::getTicket()
352 352
      */
353 353
     public function getTicket($ticketId)
354
-    {        
354
+    {
355 355
         if (!empty($ticketId && !$this->validator->validId($ticketId, 'ticket'))) {
356 356
             throw ValidationException::class;
357 357
         }
Please login to merge, or discard this patch.