Passed
Pull Request — develop (#48)
by Daniel
12:10 queued 13s
created
src/Client.php 3 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -354,7 +354,7 @@
 block discarded – undo
354 354
     public function getTicket($ticketId)
355 355
     {        
356 356
         if (!empty($ticketId && !$this->validator->validId($ticketId, 'ticket'))) {
357
-           // throw new ValidationException();
357
+            // throw new ValidationException();
358 358
         }
359 359
 
360 360
         $this->apiResource = $this->apiVersion . '/tickets';
Please login to merge, or discard this 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($eventId && !$this->Valdator->validId($locationId, 'location'))) {
307
+        if (!empty($eventId && !$this->Valdator->validId($locationId, 'location'))) {
308 308
             throw new ValidationException();
309 309
         }
310 310
         
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -352,7 +352,7 @@
 block discarded – undo
352 352
      * @see \InShore\BookWhen\Interfaces\ClientInterface::getTicket()
353 353
      */
354 354
     public function getTicket($ticketId)
355
-    {        
355
+    {
356 356
         if (!empty($ticketId && !$this->validator->validId($ticketId, 'ticket'))) {
357 357
            // throw new ValidationException();
358 358
         }
Please login to merge, or discard this patch.