Completed
Pull Request — master (#101)
by Deven
61:07
created
src/Statement.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -174,12 +174,12 @@  discard block
 block discarded – undo
174 174
 
175 175
             // Checking if the name of the clause should be added.
176 176
             if ($type & 2) {
177
-                $query .= $name . ' ';
177
+                $query .= $name.' ';
178 178
             }
179 179
 
180 180
             // Checking if the result of the builder should be added.
181 181
             if ($type & 1) {
182
-                $query .= $class::build($this->$field) . ' ';
182
+                $query .= $class::build($this->$field).' ';
183 183
             }
184 184
         }
185 185
 
@@ -481,7 +481,7 @@  discard block
 block discarded – undo
481 481
             if ($clauseStartIdx != -1) {
482 482
                 if ($joinStart == 0 && stripos($clauseType, 'JOIN')) {
483 483
                     $joinStart = 1;
484
-                } elseif ($joinStart == 1 && ! stripos($clauseType, 'JOIN')) {
484
+                } elseif ($joinStart == 1 && !stripos($clauseType, 'JOIN')) {
485 485
                     $joinStart = 2;
486 486
                 } elseif ($joinStart == 2 && stripos($clauseType, 'JOIN')) {
487 487
                     $error = 1;
Please login to merge, or discard this patch.