@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | |
| 98 | 98 | public function orderBy($key, string $order = 'ASC'): QueryInterface |
| 99 | 99 | { |
| 100 | - if ($order !== 'DESC' && $order !== 'ASC') { |
|
| 100 | + if ($order !== 'DESC'&&$order !== 'ASC') { |
|
| 101 | 101 | throw new InvalidArgumentException('Invalid order value'); |
| 102 | 102 | } |
| 103 | 103 | |
@@ -192,7 +192,7 @@ discard block |
||
| 192 | 192 | |
| 193 | 193 | private function checkInitialized() |
| 194 | 194 | { |
| 195 | - if ($this->statement !== '' && $this->query !== '') { |
|
| 195 | + if ($this->statement !== ''&&$this->query !== '') { |
|
| 196 | 196 | throw new Exception('Invalid Query Order'); |
| 197 | 197 | } |
| 198 | 198 | } |