Completed
Push — 1.1 ( 6ab797...def185 )
by David
03:11
created
src/SQLParser/Query/Select.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -388,7 +388,7 @@  discard block
 block discarded – undo
388 388
                 throw new \Exception('There is no offset if no limit is provided. An error may have occurred during SQLParsing.');
389 389
             }
390 390
 
391
-            if($limit !== null) {
391
+            if ($limit !== null) {
392 392
                 $sql .= "\nLIMIT ";
393 393
                 if ($offset !== null) {
394 394
                     $sql .= $offset.', ';
@@ -426,7 +426,7 @@  discard block
 block discarded – undo
426 426
         if ($children) {
427 427
             if (is_array($children)) {
428 428
                 foreach ($children as $key => $operand) {
429
-                    if($operand) {
429
+                    if ($operand) {
430 430
                         $result2 = $operand->walk($visitor);
431 431
                         if ($result2 === NodeTraverser::REMOVE_NODE) {
432 432
                             unset($children[$key]);
Please login to merge, or discard this patch.