@@ -139,7 +139,7 @@ discard block |
||
| 139 | 139 | * @param bool $immediate |
| 140 | 140 | * @return $this |
| 141 | 141 | */ |
| 142 | - public function with(string|array $value, bool $immediate = false): self |
|
| 142 | + public function with(string | array $value, bool $immediate = false): self |
|
| 143 | 143 | { |
| 144 | 144 | if (!is_array($value)) { |
| 145 | 145 | $value = [$value]; |
@@ -168,7 +168,7 @@ discard block |
||
| 168 | 168 | * @param string|Expression|Closure|string[]|Expression[]|Closure[] $columns |
| 169 | 169 | * @return $this |
| 170 | 170 | */ |
| 171 | - public function groupBy(string|Expression|Closure|array $columns): self |
|
| 171 | + public function groupBy(string | Expression | Closure | array $columns): self |
|
| 172 | 172 | { |
| 173 | 173 | if (!is_array($columns)) { |
| 174 | 174 | $columns = [$columns]; |
@@ -185,7 +185,7 @@ discard block |
||
| 185 | 185 | * @param Closure|null $value |
| 186 | 186 | * @return $this |
| 187 | 187 | */ |
| 188 | - public function having(string|Expression|Closure $column, ?Closure $value = null): self |
|
| 188 | + public function having(string | Expression | Closure $column, ?Closure $value = null): self |
|
| 189 | 189 | { |
| 190 | 190 | $this->getHavingStatement()->having($column, $value); |
| 191 | 191 | |
@@ -198,7 +198,7 @@ discard block |
||
| 198 | 198 | * @param Closure|null $value |
| 199 | 199 | * @return $this |
| 200 | 200 | */ |
| 201 | - public function orHaving(string|Expression|Closure $column, ?Closure $value = null): self |
|
| 201 | + public function orHaving(string | Expression | Closure $column, ?Closure $value = null): self |
|
| 202 | 202 | { |
| 203 | 203 | $this->getHavingStatement()->orHaving($column, $value); |
| 204 | 204 | |
@@ -212,7 +212,7 @@ discard block |
||
| 212 | 212 | * @return $this |
| 213 | 213 | */ |
| 214 | 214 | public function orderBy( |
| 215 | - string|Closure|Expression|array $columns, |
|
| 215 | + string | Closure | Expression | array $columns, |
|
| 216 | 216 | string $order = 'ASC' |
| 217 | 217 | ): self { |
| 218 | 218 | if (!is_array($columns)) { |
@@ -262,7 +262,7 @@ discard block |
||
| 262 | 262 | * @param string|string[]|Expression|Expression[]|Closure|Closure[] $columns |
| 263 | 263 | * @return void |
| 264 | 264 | */ |
| 265 | - protected function select(string|Expression|Closure|array $columns = []): void |
|
| 265 | + protected function select(string | Expression | Closure | array $columns = []): void |
|
| 266 | 266 | { |
| 267 | 267 | $exp = new ColumnExpression($this->getQueryStatement()); |
| 268 | 268 | if ($columns instanceof Closure) { |