Passed
Pull Request — master (#334)
by Antoine
13:06
created
src/Statements/WithStatement.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@
 block discarded – undo
180 180
             }
181 181
 
182 182
             ++$list->idx;
183
-            if (! isset($list->tokens[$list->idx])) {
183
+            if (!isset($list->tokens[$list->idx])) {
184 184
                 break;
185 185
             }
186 186
 
Please login to merge, or discard this patch.
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,6 @@
 block discarded – undo
22 22
 
23 23
 /**
24 24
  * `WITH` statement.
25
-
26 25
  *  WITH [RECURSIVE] query_name [ (column_name [,...]) ] AS (SELECT ...) [, ...]
27 26
  */
28 27
 final class WithStatement extends Statement
Please login to merge, or discard this patch.
src/Components/WithKeyword.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,11 +38,11 @@
 block discarded – undo
38 38
      */
39 39
     public static function build($component, array $options = [])
40 40
     {
41
-        if (! $component instanceof WithKeyword) {
41
+        if (!$component instanceof WithKeyword) {
42 42
             throw new RuntimeException('Can not build a component that is not a WithKeyword');
43 43
         }
44 44
 
45
-        if (! isset($component->statement)) {
45
+        if (!isset($component->statement)) {
46 46
             throw new RuntimeException('No statement inside WITH');
47 47
         }
48 48
 
Please login to merge, or discard this patch.