Completed
Push — master ( fd7b38...04d014 )
by Midori
13:17
created
src/QueryMaker.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     }
Please login to merge, or discard this patch.