@@ -94,9 +94,9 @@ discard block |
||
| 94 | 94 | * @return WhereStatement|Where|Select|Delete|Update |
| 95 | 95 | */ |
| 96 | 96 | public function where( |
| 97 | - string|Expression|Closure $column, |
|
| 97 | + string | Expression | Closure $column, |
|
| 98 | 98 | bool $isExpression = false |
| 99 | - ): WhereStatement|Where|Select|Delete|Update { |
|
| 99 | + ): WhereStatement | Where | Select | Delete | Update { |
|
| 100 | 100 | return $this->addWhereCondition($column, 'AND', $isExpression); |
| 101 | 101 | } |
| 102 | 102 | |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | * |
| 107 | 107 | * @return WhereStatement|Where|Select|Delete|Update |
| 108 | 108 | */ |
| 109 | - public function orWhere(string|Expression|Closure $column, bool $isExpression = false): WhereStatement|Where|Select|Delete|Update |
|
| 109 | + public function orWhere(string | Expression | Closure $column, bool $isExpression = false): WhereStatement | Where | Select | Delete | Update |
|
| 110 | 110 | { |
| 111 | 111 | return $this->addWhereCondition($column, 'OR', $isExpression); |
| 112 | 112 | } |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | * @param Closure $select |
| 116 | 116 | * @return WhereStatement|Select|Delete|Update |
| 117 | 117 | */ |
| 118 | - public function whereExists(Closure $select): WhereStatement|Select|Delete|Update |
|
| 118 | + public function whereExists(Closure $select): WhereStatement | Select | Delete | Update |
|
| 119 | 119 | { |
| 120 | 120 | return $this->addWhereExistsCondition($select, 'AND', false); |
| 121 | 121 | } |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | * @param Closure $select |
| 125 | 125 | * @return WhereStatement|Select|Delete|Update |
| 126 | 126 | */ |
| 127 | - public function orWhereExists(Closure $select): WhereStatement|Select|Delete|Update |
|
| 127 | + public function orWhereExists(Closure $select): WhereStatement | Select | Delete | Update |
|
| 128 | 128 | { |
| 129 | 129 | return $this->addWhereExistsCondition($select, 'OR', false); |
| 130 | 130 | } |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | * @param Closure $select |
| 134 | 134 | * @return WhereStatement|Select|Delete|Update |
| 135 | 135 | */ |
| 136 | - public function whereNotExists(Closure $select): WhereStatement|Select|Delete|Update |
|
| 136 | + public function whereNotExists(Closure $select): WhereStatement | Select | Delete | Update |
|
| 137 | 137 | { |
| 138 | 138 | return $this->addWhereExistsCondition($select, 'AND', true); |
| 139 | 139 | } |
@@ -142,7 +142,7 @@ discard block |
||
| 142 | 142 | * @param Closure $select |
| 143 | 143 | * @return WhereStatement|Select|Delete|Update |
| 144 | 144 | */ |
| 145 | - public function orWhereNotExists(Closure $select): WhereStatement|Select|Delete|Update |
|
| 145 | + public function orWhereNotExists(Closure $select): WhereStatement | Select | Delete | Update |
|
| 146 | 146 | { |
| 147 | 147 | return $this->addWhereExistsCondition($select, 'OR', true); |
| 148 | 148 | } |
@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | mixed $column, |
| 168 | 168 | string $separator = 'AND', |
| 169 | 169 | bool $isExpression = false |
| 170 | - ): WhereStatement|Where { |
|
| 170 | + ): WhereStatement | Where { |
|
| 171 | 171 | if (($column instanceof Closure) && !$isExpression) { |
| 172 | 172 | $this->queryStatement->addWhereGroup($column, $separator); |
| 173 | 173 | |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | /** |
| 58 | 58 | * @var string|Expression |
| 59 | 59 | */ |
| 60 | - protected string|Expression $aggregate; |
|
| 60 | + protected string | Expression $aggregate; |
|
| 61 | 61 | |
| 62 | 62 | /** |
| 63 | 63 | * @var string |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | * @param string $separator |
| 85 | 85 | * @return self |
| 86 | 86 | */ |
| 87 | - public function init(string|Expression|Closure $aggregate, string $separator): self |
|
| 87 | + public function init(string | Expression | Closure $aggregate, string $separator): self |
|
| 88 | 88 | { |
| 89 | 89 | if ($aggregate instanceof Closure) { |
| 90 | 90 | $aggregate = Expression::fromClosure($aggregate); |
@@ -211,7 +211,7 @@ discard block |
||
| 211 | 211 | * @param array<int, mixed>|Closure $value |
| 212 | 212 | * @return void |
| 213 | 213 | */ |
| 214 | - public function in(array|Closure $value): void |
|
| 214 | + public function in(array | Closure $value): void |
|
| 215 | 215 | { |
| 216 | 216 | $this->queryStatement->addHavingIn( |
| 217 | 217 | $this->aggregate, |
@@ -225,7 +225,7 @@ discard block |
||
| 225 | 225 | * @param array<int, mixed>|Closure $value |
| 226 | 226 | * @return void |
| 227 | 227 | */ |
| 228 | - public function notIn(array|Closure $value): void |
|
| 228 | + public function notIn(array | Closure $value): void |
|
| 229 | 229 | { |
| 230 | 230 | $this->queryStatement->addHavingIn( |
| 231 | 231 | $this->aggregate, |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | * |
| 61 | 61 | * @return Delete|Select|BaseStatement |
| 62 | 62 | */ |
| 63 | - public function join(array|string $table, Closure $closure): Delete|Select|BaseStatement |
|
| 63 | + public function join(array | string $table, Closure $closure): Delete | Select | BaseStatement |
|
| 64 | 64 | { |
| 65 | 65 | $this->queryStatement->addJoinClause('INNER', $table, $closure); |
| 66 | 66 | |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | * |
| 74 | 74 | * @return Delete|Select|BaseStatement |
| 75 | 75 | */ |
| 76 | - public function leftJoin(array|string $table, Closure $closure): Delete|Select|BaseStatement |
|
| 76 | + public function leftJoin(array | string $table, Closure $closure): Delete | Select | BaseStatement |
|
| 77 | 77 | { |
| 78 | 78 | $this->queryStatement->addJoinClause('LEFT', $table, $closure); |
| 79 | 79 | |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | * |
| 87 | 87 | * @return Delete|Select|BaseStatement |
| 88 | 88 | */ |
| 89 | - public function rightJoin(array|string $table, Closure $closure): Delete|Select|BaseStatement |
|
| 89 | + public function rightJoin(array | string $table, Closure $closure): Delete | Select | BaseStatement |
|
| 90 | 90 | { |
| 91 | 91 | $this->queryStatement->addJoinClause('RIGHT', $table, $closure); |
| 92 | 92 | |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | * |
| 100 | 100 | * @return Delete|Select|BaseStatement |
| 101 | 101 | */ |
| 102 | - public function fullJoin(array|string $table, Closure $closure): Delete|Select|BaseStatement |
|
| 102 | + public function fullJoin(array | string $table, Closure $closure): Delete | Select | BaseStatement |
|
| 103 | 103 | { |
| 104 | 104 | $this->queryStatement->addJoinClause('FULL', $table, $closure); |
| 105 | 105 | |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | * |
| 113 | 113 | * @return Delete|Select|BaseStatement |
| 114 | 114 | */ |
| 115 | - public function crossJoin(array|string $table, Closure $closure): Delete|Select|BaseStatement |
|
| 115 | + public function crossJoin(array | string $table, Closure $closure): Delete | Select | BaseStatement |
|
| 116 | 116 | { |
| 117 | 117 | $this->queryStatement->addJoinClause('CROSS', $table, $closure); |
| 118 | 118 | |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | * @param string|array<int, string> $table |
| 64 | 64 | * @param QueryStatement|null $queryStatement |
| 65 | 65 | */ |
| 66 | - public function __construct(string|array $table, ?QueryStatement $queryStatement = null) |
|
| 66 | + public function __construct(string | array $table, ?QueryStatement $queryStatement = null) |
|
| 67 | 67 | { |
| 68 | 68 | parent::__construct($queryStatement); |
| 69 | 69 | |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | * @param Closure|null $value |
| 93 | 93 | * @return self |
| 94 | 94 | */ |
| 95 | - public function having(string|Expression|Closure $column, ?Closure $value = null): self |
|
| 95 | + public function having(string | Expression | Closure $column, ?Closure $value = null): self |
|
| 96 | 96 | { |
| 97 | 97 | return $this->addCondition($column, $value, 'AND'); |
| 98 | 98 | } |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | * @param Closure|null $value |
| 103 | 103 | * @return self |
| 104 | 104 | */ |
| 105 | - public function orHaving(string|Expression|Closure $column, ?Closure $value = null): self |
|
| 105 | + public function orHaving(string | Expression | Closure $column, ?Closure $value = null): self |
|
| 106 | 106 | { |
| 107 | 107 | return $this->addCondition($column, $value, 'OR'); |
| 108 | 108 | } |
@@ -123,7 +123,7 @@ discard block |
||
| 123 | 123 | * @return self |
| 124 | 124 | */ |
| 125 | 125 | protected function addCondition( |
| 126 | - string|Expression|Closure $column, |
|
| 126 | + string | Expression | Closure $column, |
|
| 127 | 127 | ?Closure $value = null, |
| 128 | 128 | string $separator = 'AND' |
| 129 | 129 | ): self { |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | * @param string|null $alias |
| 75 | 75 | * @return $this |
| 76 | 76 | */ |
| 77 | - public function column(string|Expression|Closure $name, string $alias = null): self |
|
| 77 | + public function column(string | Expression | Closure $name, string $alias = null): self |
|
| 78 | 78 | { |
| 79 | 79 | $this->queryStatement->addColumn($name, $alias); |
| 80 | 80 | |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | * @return $this |
| 112 | 112 | */ |
| 113 | 113 | public function count( |
| 114 | - string|array|Expression|Closure $column = '*', |
|
| 114 | + string | array | Expression | Closure $column = '*', |
|
| 115 | 115 | string $alias = null, |
| 116 | 116 | bool $distinct = false |
| 117 | 117 | ): self { |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | * @return $this |
| 126 | 126 | */ |
| 127 | 127 | public function avg( |
| 128 | - string|Expression|Closure $column, |
|
| 128 | + string | Expression | Closure $column, |
|
| 129 | 129 | string $alias = null, |
| 130 | 130 | bool $distinct = false |
| 131 | 131 | ): self { |
@@ -139,7 +139,7 @@ discard block |
||
| 139 | 139 | * @return $this |
| 140 | 140 | */ |
| 141 | 141 | public function sum( |
| 142 | - string|Expression|Closure $column, |
|
| 142 | + string | Expression | Closure $column, |
|
| 143 | 143 | string $alias = null, |
| 144 | 144 | bool $distinct = false |
| 145 | 145 | ): self { |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | * @return $this |
| 154 | 154 | */ |
| 155 | 155 | public function min( |
| 156 | - string|Expression|Closure $column, |
|
| 156 | + string | Expression | Closure $column, |
|
| 157 | 157 | string $alias = null, |
| 158 | 158 | bool $distinct = false |
| 159 | 159 | ): self { |
@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | * @return $this |
| 168 | 168 | */ |
| 169 | 169 | public function max( |
| 170 | - string|Expression|Closure $column, |
|
| 170 | + string | Expression | Closure $column, |
|
| 171 | 171 | string $alias = null, |
| 172 | 172 | bool $distinct = false |
| 173 | 173 | ): self { |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | * @param string|array<int, string> $tables |
| 65 | 65 | * @param QueryStatement|null $queryStatement |
| 66 | 66 | */ |
| 67 | - public function __construct(string|array $tables, ?QueryStatement $queryStatement = null) |
|
| 67 | + public function __construct(string | array $tables, ?QueryStatement $queryStatement = null) |
|
| 68 | 68 | { |
| 69 | 69 | parent::__construct($queryStatement); |
| 70 | 70 | |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | * @param string|Expression|Closure|string[]|Expression[]|Closure[] $columns |
| 103 | 103 | * @return $this |
| 104 | 104 | */ |
| 105 | - public function groupBy(string|Expression|Closure|array $columns): self |
|
| 105 | + public function groupBy(string | Expression | Closure | array $columns): self |
|
| 106 | 106 | { |
| 107 | 107 | if (!is_array($columns)) { |
| 108 | 108 | $columns = [$columns]; |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | * @param Closure|null $closure |
| 118 | 118 | * @return $this |
| 119 | 119 | */ |
| 120 | - public function having(string|Expression|Closure $column, ?Closure $closure = null): self |
|
| 120 | + public function having(string | Expression | Closure $column, ?Closure $closure = null): self |
|
| 121 | 121 | { |
| 122 | 122 | $this->havingStatement->having($column, $closure); |
| 123 | 123 | |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | * @return $this |
| 131 | 131 | */ |
| 132 | 132 | public function orHaving( |
| 133 | - string|Expression|Closure $column, |
|
| 133 | + string | Expression | Closure $column, |
|
| 134 | 134 | ?Closure $closure = null |
| 135 | 135 | ): self { |
| 136 | 136 | $this->havingStatement->orHaving($column, $closure); |
@@ -144,7 +144,7 @@ discard block |
||
| 144 | 144 | * @return $this |
| 145 | 145 | */ |
| 146 | 146 | public function orderBy( |
| 147 | - string|Closure|Expression|array $columns, |
|
| 147 | + string | Closure | Expression | array $columns, |
|
| 148 | 148 | string $order = 'ASC' |
| 149 | 149 | ): self { |
| 150 | 150 | if (!is_array($columns)) { |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | * @param string|Expression|Closure|string[]|Expression[]|Closure[] $columns |
| 183 | 183 | * @return mixed |
| 184 | 184 | */ |
| 185 | - public function select(string|Expression|Closure|array $columns = []): mixed |
|
| 185 | + public function select(string | Expression | Closure | array $columns = []): mixed |
|
| 186 | 186 | { |
| 187 | 187 | $expr = new ColumnExpression($this->queryStatement); |
| 188 | 188 | |
@@ -202,7 +202,7 @@ discard block |
||
| 202 | 202 | * @param string|Expression|Closure $name |
| 203 | 203 | * @return mixed |
| 204 | 204 | */ |
| 205 | - public function column(string|Expression|Closure $name): mixed |
|
| 205 | + public function column(string | Expression | Closure $name): mixed |
|
| 206 | 206 | { |
| 207 | 207 | (new ColumnExpression($this->queryStatement))->column($name); |
| 208 | 208 | |
@@ -215,7 +215,7 @@ discard block |
||
| 215 | 215 | * @return mixed |
| 216 | 216 | */ |
| 217 | 217 | public function count( |
| 218 | - string|Expression|Closure $column = '*', |
|
| 218 | + string | Expression | Closure $column = '*', |
|
| 219 | 219 | bool $distinct = false |
| 220 | 220 | ): mixed { |
| 221 | 221 | (new ColumnExpression($this->queryStatement))->count($column, null, $distinct); |
@@ -229,7 +229,7 @@ discard block |
||
| 229 | 229 | * @return mixed |
| 230 | 230 | */ |
| 231 | 231 | public function avg( |
| 232 | - string|Expression|Closure $column, |
|
| 232 | + string | Expression | Closure $column, |
|
| 233 | 233 | bool $distinct = false |
| 234 | 234 | ): mixed { |
| 235 | 235 | (new ColumnExpression($this->queryStatement))->avg($column, null, $distinct); |
@@ -242,7 +242,7 @@ discard block |
||
| 242 | 242 | * @param bool $distinct |
| 243 | 243 | * @return mixed |
| 244 | 244 | */ |
| 245 | - public function sum(string|Expression|Closure $column, bool $distinct = false): mixed |
|
| 245 | + public function sum(string | Expression | Closure $column, bool $distinct = false): mixed |
|
| 246 | 246 | { |
| 247 | 247 | (new ColumnExpression($this->queryStatement))->sum($column, null, $distinct); |
| 248 | 248 | |
@@ -254,7 +254,7 @@ discard block |
||
| 254 | 254 | * @param bool $distinct |
| 255 | 255 | * @return mixed |
| 256 | 256 | */ |
| 257 | - public function min(string|Expression|Closure $column, bool $distinct = false): mixed |
|
| 257 | + public function min(string | Expression | Closure $column, bool $distinct = false): mixed |
|
| 258 | 258 | { |
| 259 | 259 | (new ColumnExpression($this->queryStatement))->min($column, null, $distinct); |
| 260 | 260 | |
@@ -266,7 +266,7 @@ discard block |
||
| 266 | 266 | * @param bool $distinct |
| 267 | 267 | * @return mixed |
| 268 | 268 | */ |
| 269 | - public function max(string|Expression|Closure $column, bool $distinct = false): mixed |
|
| 269 | + public function max(string | Expression | Closure $column, bool $distinct = false): mixed |
|
| 270 | 270 | { |
| 271 | 271 | (new ColumnExpression($this->queryStatement))->max($column, null, $distinct); |
| 272 | 272 | |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | * @param string|array<string> $tables |
| 112 | 112 | * @return SelectStatement |
| 113 | 113 | */ |
| 114 | - public function from(string|array $tables): SelectStatement |
|
| 114 | + public function from(string | array $tables): SelectStatement |
|
| 115 | 115 | { |
| 116 | 116 | $subQuery = new SubQuery(); |
| 117 | 117 | $this->addExpression('subquery', $subQuery); |
@@ -125,7 +125,7 @@ discard block |
||
| 125 | 125 | * @return $this |
| 126 | 126 | */ |
| 127 | 127 | public function count( |
| 128 | - string|array|Expression|Closure $column = '*', |
|
| 128 | + string | array | Expression | Closure $column = '*', |
|
| 129 | 129 | bool $distinct = false |
| 130 | 130 | ): self { |
| 131 | 131 | if (!is_array($column)) { |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | * @param bool $distinct |
| 146 | 146 | * @return $this |
| 147 | 147 | */ |
| 148 | - public function sum(string|Expression|Closure $column, bool $distinct = false): self |
|
| 148 | + public function sum(string | Expression | Closure $column, bool $distinct = false): self |
|
| 149 | 149 | { |
| 150 | 150 | return $this->addFunction( |
| 151 | 151 | 'aggregateFunction', |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | * @param bool $distinct |
| 161 | 161 | * @return $this |
| 162 | 162 | */ |
| 163 | - public function avg(string|Expression|Closure $column, bool $distinct = false): self |
|
| 163 | + public function avg(string | Expression | Closure $column, bool $distinct = false): self |
|
| 164 | 164 | { |
| 165 | 165 | return $this->addFunction( |
| 166 | 166 | 'aggregateFunction', |
@@ -175,7 +175,7 @@ discard block |
||
| 175 | 175 | * @param bool $distinct |
| 176 | 176 | * @return $this |
| 177 | 177 | */ |
| 178 | - public function min(string|Expression|Closure $column, bool $distinct = false): self |
|
| 178 | + public function min(string | Expression | Closure $column, bool $distinct = false): self |
|
| 179 | 179 | { |
| 180 | 180 | return $this->addFunction( |
| 181 | 181 | 'aggregateFunction', |
@@ -190,7 +190,7 @@ discard block |
||
| 190 | 190 | * @param bool $distinct |
| 191 | 191 | * @return $this |
| 192 | 192 | */ |
| 193 | - public function max(string|Expression|Closure $column, bool $distinct = false): self |
|
| 193 | + public function max(string | Expression | Closure $column, bool $distinct = false): self |
|
| 194 | 194 | { |
| 195 | 195 | return $this->addFunction( |
| 196 | 196 | 'aggregateFunction', |
@@ -238,7 +238,7 @@ discard block |
||
| 238 | 238 | protected function addFunction( |
| 239 | 239 | string $type, |
| 240 | 240 | string $name, |
| 241 | - string|Closure|array|Expression $column, |
|
| 241 | + string | Closure | array | Expression $column, |
|
| 242 | 242 | array $arguments = [] |
| 243 | 243 | ): self { |
| 244 | 244 | if ($column instanceof Closure) { |
@@ -156,7 +156,7 @@ discard block |
||
| 156 | 156 | * @param string $separator |
| 157 | 157 | */ |
| 158 | 158 | public function addWhere( |
| 159 | - string|Closure|Expression $column, |
|
| 159 | + string | Closure | Expression $column, |
|
| 160 | 160 | mixed $value, |
| 161 | 161 | string $operator, |
| 162 | 162 | string $separator |
@@ -179,7 +179,7 @@ discard block |
||
| 179 | 179 | * @return void |
| 180 | 180 | */ |
| 181 | 181 | public function addWhereLike( |
| 182 | - string|Closure|Expression $column, |
|
| 182 | + string | Closure | Expression $column, |
|
| 183 | 183 | string $pattern, |
| 184 | 184 | string $separator, |
| 185 | 185 | bool $not |
@@ -203,7 +203,7 @@ discard block |
||
| 203 | 203 | * @return void |
| 204 | 204 | */ |
| 205 | 205 | public function addWhereBetween( |
| 206 | - string|Closure|Expression $column, |
|
| 206 | + string | Closure | Expression $column, |
|
| 207 | 207 | mixed $value1, |
| 208 | 208 | mixed $value2, |
| 209 | 209 | string $separator, |
@@ -228,7 +228,7 @@ discard block |
||
| 228 | 228 | * @return void |
| 229 | 229 | */ |
| 230 | 230 | public function addWhereIn( |
| 231 | - string|Closure|Expression $column, |
|
| 231 | + string | Closure | Expression $column, |
|
| 232 | 232 | mixed $value, |
| 233 | 233 | string $separator, |
| 234 | 234 | bool $not |
@@ -265,7 +265,7 @@ discard block |
||
| 265 | 265 | * @return void |
| 266 | 266 | */ |
| 267 | 267 | public function addWhereNull( |
| 268 | - string|Closure|Expression $column, |
|
| 268 | + string | Closure | Expression $column, |
|
| 269 | 269 | string $separator, |
| 270 | 270 | bool $not |
| 271 | 271 | ): void { |
@@ -284,7 +284,7 @@ discard block |
||
| 284 | 284 | * @return void |
| 285 | 285 | */ |
| 286 | 286 | public function addWhereNop( |
| 287 | - string|Closure|Expression $column, |
|
| 287 | + string | Closure | Expression $column, |
|
| 288 | 288 | string $separator |
| 289 | 289 | ): void { |
| 290 | 290 | $this->wheres[] = [ |
@@ -321,7 +321,7 @@ discard block |
||
| 321 | 321 | */ |
| 322 | 322 | public function addJoinClause( |
| 323 | 323 | string $type, |
| 324 | - string|array|Closure $table, |
|
| 324 | + string | array | Closure $table, |
|
| 325 | 325 | ?Closure $closure = null |
| 326 | 326 | ): void { |
| 327 | 327 | $join = null; |
@@ -372,7 +372,7 @@ discard block |
||
| 372 | 372 | * @return void |
| 373 | 373 | */ |
| 374 | 374 | public function addHaving( |
| 375 | - string|Closure|Expression $aggregate, |
|
| 375 | + string | Closure | Expression $aggregate, |
|
| 376 | 376 | mixed $value, |
| 377 | 377 | string $operator, |
| 378 | 378 | string $separator |
@@ -395,7 +395,7 @@ discard block |
||
| 395 | 395 | * @return void |
| 396 | 396 | */ |
| 397 | 397 | public function addHavingIn( |
| 398 | - string|Closure|Expression $aggregate, |
|
| 398 | + string | Closure | Expression $aggregate, |
|
| 399 | 399 | $value, |
| 400 | 400 | string $separator, |
| 401 | 401 | bool $not |
@@ -434,7 +434,7 @@ discard block |
||
| 434 | 434 | * @return void |
| 435 | 435 | */ |
| 436 | 436 | public function addHavingBetween( |
| 437 | - string|Closure|Expression $aggregate, |
|
| 437 | + string | Closure | Expression $aggregate, |
|
| 438 | 438 | mixed $value1, |
| 439 | 439 | mixed $value2, |
| 440 | 440 | string $separator, |
@@ -516,7 +516,7 @@ discard block |
||
| 516 | 516 | * @return void |
| 517 | 517 | */ |
| 518 | 518 | public function addColumn( |
| 519 | - string|Expression|Closure $column, |
|
| 519 | + string | Expression | Closure $column, |
|
| 520 | 520 | ?string $alias = null |
| 521 | 521 | ): void { |
| 522 | 522 | $this->columns[] = [ |