@@ -170,7 +170,7 @@ discard block |
||
| 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 |
||
| 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 | |
@@ -351,7 +351,7 @@ |
||
| 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 | } |