@@ -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($locationId && !$this->Valdator->validId($locationId, 'location'))) { |
|
| 307 | + if (!empty($locationId && !$this->Valdator->validId($locationId, 'location'))) { |
|
| 308 | 308 | throw new ValidationException(); |
| 309 | 309 | } |
| 310 | 310 | |