@@ -67,13 +67,13 @@ |
||
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | /** |
| 70 | - * Compile a pivot column null value. |
|
| 71 | - * |
|
| 72 | - * @param string $type |
|
| 73 | - * @param int $precision |
|
| 74 | - * @param int $scale |
|
| 75 | - * @return string |
|
| 76 | - */ |
|
| 70 | + * Compile a pivot column null value. |
|
| 71 | + * |
|
| 72 | + * @param string $type |
|
| 73 | + * @param int $precision |
|
| 74 | + * @param int $scale |
|
| 75 | + * @return string |
|
| 76 | + */ |
|
| 77 | 77 | public function compilePivotColumnNullValue(string $type, int $precision, int $scale): string |
| 78 | 78 | { |
| 79 | 79 | return 'null'; |
@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | */ |
| 19 | 19 | public function compileInitialPath($column, $alias) |
| 20 | 20 | { |
| 21 | - return 'cast(' . $this->wrap($column) . ' as text) as ' . $this->wrap($alias); |
|
| 21 | + return 'cast('.$this->wrap($column).' as text) as '.$this->wrap($alias); |
|
| 22 | 22 | } |
| 23 | 23 | |
| 24 | 24 | /** |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | public function selectPathList(Builder $query, $expression, $column, $pathSeparator, $listSeparator) |
| 62 | 62 | { |
| 63 | 63 | return $query->selectRaw( |
| 64 | - 'group_concat(' . $this->wrap($column) . ', ?)', |
|
| 64 | + 'group_concat('.$this->wrap($column).', ?)', |
|
| 65 | 65 | [$listSeparator] |
| 66 | 66 | )->from($expression); |
| 67 | 67 | } |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | */ |
| 114 | 114 | public function compileCycleDetectionInitialSelect(string $column): string |
| 115 | 115 | { |
| 116 | - return 'false as ' . $this->wrap($column); |
|
| 116 | + return 'false as '.$this->wrap($column); |
|
| 117 | 117 | } |
| 118 | 118 | |
| 119 | 119 | /** |
@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | */ |
| 137 | 137 | public function compileCycleDetectionStopConstraint(string $column): string |
| 138 | 138 | { |
| 139 | - return 'not ' . $this->wrap($column); |
|
| 139 | + return 'not '.$this->wrap($column); |
|
| 140 | 140 | } |
| 141 | 141 | |
| 142 | 142 | /** |