@@ -308,7 +308,7 @@ |
||
| 308 | 308 | { |
| 309 | 309 | $this->apiResource = $this->apiVersion . '/locations'; |
| 310 | 310 | |
| 311 | - if(!empty($eventId && !$this->Valdator->validId($locationId, 'location'))) { |
|
| 311 | + if (!empty($eventId && !$this->Valdator->validId($locationId, 'location'))) { |
|
| 312 | 312 | throw \Exception::class; |
| 313 | 313 | } |
| 314 | 314 | |
@@ -357,7 +357,7 @@ |
||
| 357 | 357 | * @see \InShore\BookWhen\Interfaces\ClientInterface::getTicket() |
| 358 | 358 | */ |
| 359 | 359 | public function getTicket($ticketId) |
| 360 | - { |
|
| 360 | + { |
|
| 361 | 361 | if (!empty($ticketId && !$this->validator->validId($ticketId, 'ticket'))) { |
| 362 | 362 | throw \InvalidArgumentException::class; |
| 363 | 363 | } |