@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | |
12 | 12 | public function compileInitialPath($column, $alias) |
13 | 13 | { |
14 | - return 'cast(' . $this->wrap($column) . ' as varchar(8191)) as ' . $this->wrap($alias); |
|
14 | + return 'cast('.$this->wrap($column).' as varchar(8191)) as '.$this->wrap($alias); |
|
15 | 15 | } |
16 | 16 | |
17 | 17 | public function compileRecursivePath($column, $alias, bool $reverse = false) |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | public function selectPathList(Builder $query, $expression, $column, $pathSeparator, $listSeparator) |
32 | 32 | { |
33 | 33 | return $query->selectRaw( |
34 | - 'list(' . $this->wrap($column) . ", '$listSeparator')" |
|
34 | + 'list('.$this->wrap($column).", '$listSeparator')" |
|
35 | 35 | )->from($expression); |
36 | 36 | } |
37 | 37 | |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | |
56 | 56 | public function compileCycleDetectionInitialSelect(string $column): string |
57 | 57 | { |
58 | - return 'false as ' . $this->wrap($column); |
|
58 | + return 'false as '.$this->wrap($column); |
|
59 | 59 | } |
60 | 60 | |
61 | 61 | public function compileCycleDetectionRecursiveSelect(string $sql, string $column): string |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | |
66 | 66 | public function compileCycleDetectionStopConstraint(string $column): string |
67 | 67 | { |
68 | - return 'not ' . $this->wrap($column); |
|
68 | + return 'not '.$this->wrap($column); |
|
69 | 69 | } |
70 | 70 | |
71 | 71 | public function supportsUnionInRecursiveExpression(): bool |