@@ -354,7 +354,7 @@ |
||
| 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'; |
@@ -171,7 +171,7 @@ discard block |
||
| 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 |
||
| 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 | |
@@ -352,7 +352,7 @@ |
||
| 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 | } |