@@ -44,7 +44,7 @@ |
||
| 44 | 44 | */ |
| 45 | 45 | public function __construct(array $tokens = [], $count = -1) |
| 46 | 46 | { |
| 47 | - if (! empty($tokens)) { |
|
| 47 | + if (!empty($tokens)) { |
|
| 48 | 48 | $this->tokens = $tokens; |
| 49 | 49 | $this->count = $count === -1 ? count($tokens) : $count; |
| 50 | 50 | } |
@@ -180,7 +180,7 @@ |
||
| 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 | |
@@ -22,7 +22,6 @@ |
||
| 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 |
@@ -38,11 +38,11 @@ |
||
| 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 | |