@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | } |
| 88 | 88 | |
| 89 | 89 | $this->logger = new Logger('inShore Bookwhen API'); |
| 90 | - $this->logger->pushHandler(new StreamHandler($this->log, Logger::DEBUG )); |
|
| 90 | + $this->logger->pushHandler(new StreamHandler($this->log, Logger::DEBUG)); |
|
| 91 | 91 | $this->logger->info('Client class successfully instantiated'); |
| 92 | 92 | $this->logger->debug(var_export($this, true)); |
| 93 | 93 | } |
@@ -153,12 +153,12 @@ discard block |
||
| 153 | 153 | throw new ValidationException('title', $title); |
| 154 | 154 | } |
| 155 | 155 | |
| 156 | - if(!is_null($fileName) && !$this->validator->validFileName($fileName)) { |
|
| 156 | + if (!is_null($fileName) && !$this->validator->validFileName($fileName)) { |
|
| 157 | 157 | throw new ValidationException('file name', $fileName); |
| 158 | 158 | } |
| 159 | 159 | |
| 160 | 160 | |
| 161 | - if(!is_null($fileType) && !$this->validator->validFileType($fileType)) { |
|
| 161 | + if (!is_null($fileType) && !$this->validator->validFileType($fileType)) { |
|
| 162 | 162 | throw new ValidationException('file type', $fileType); |
| 163 | 163 | } |
| 164 | 164 | |