@@ -91,9 +91,9 @@ discard block |
||
| 91 | 91 | * @return WhereStatement|Where|Select|Delete|Update |
| 92 | 92 | */ |
| 93 | 93 | public function where( |
| 94 | - string|Expression|Closure $column, |
|
| 94 | + string | Expression | Closure $column, |
|
| 95 | 95 | bool $isExpression = false |
| 96 | - ): WhereStatement|Where|Select|Delete|Update { |
|
| 96 | + ): WhereStatement | Where | Select | Delete | Update { |
|
| 97 | 97 | return $this->addWhereCondition($column, 'AND', $isExpression); |
| 98 | 98 | } |
| 99 | 99 | |
@@ -104,9 +104,9 @@ discard block |
||
| 104 | 104 | * @return WhereStatement|Where|Select|Delete|Update |
| 105 | 105 | */ |
| 106 | 106 | public function orWhere( |
| 107 | - string|Expression|Closure $column, |
|
| 107 | + string | Expression | Closure $column, |
|
| 108 | 108 | bool $isExpression = false |
| 109 | - ): WhereStatement|Where|Select|Delete|Update { |
|
| 109 | + ): WhereStatement | Where | Select | Delete | Update { |
|
| 110 | 110 | return $this->addWhereCondition($column, 'OR', $isExpression); |
| 111 | 111 | } |
| 112 | 112 | |
@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | * @param Closure $select |
| 115 | 115 | * @return WhereStatement|Select|Delete|Update |
| 116 | 116 | */ |
| 117 | - public function whereExists(Closure $select): WhereStatement|Select|Delete|Update |
|
| 117 | + public function whereExists(Closure $select): WhereStatement | Select | Delete | Update |
|
| 118 | 118 | { |
| 119 | 119 | return $this->addWhereExistsCondition($select, 'AND', false); |
| 120 | 120 | } |
@@ -123,7 +123,7 @@ discard block |
||
| 123 | 123 | * @param Closure $select |
| 124 | 124 | * @return WhereStatement|Select|Delete|Update |
| 125 | 125 | */ |
| 126 | - public function orWhereExists(Closure $select): WhereStatement|Select|Delete|Update |
|
| 126 | + public function orWhereExists(Closure $select): WhereStatement | Select | Delete | Update |
|
| 127 | 127 | { |
| 128 | 128 | return $this->addWhereExistsCondition($select, 'OR', false); |
| 129 | 129 | } |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | * @param Closure $select |
| 133 | 133 | * @return WhereStatement|Select|Delete|Update |
| 134 | 134 | */ |
| 135 | - public function whereNotExists(Closure $select): WhereStatement|Select|Delete|Update |
|
| 135 | + public function whereNotExists(Closure $select): WhereStatement | Select | Delete | Update |
|
| 136 | 136 | { |
| 137 | 137 | return $this->addWhereExistsCondition($select, 'AND', true); |
| 138 | 138 | } |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | * @param Closure $select |
| 142 | 142 | * @return WhereStatement|Select|Delete|Update |
| 143 | 143 | */ |
| 144 | - public function orWhereNotExists(Closure $select): WhereStatement|Select|Delete|Update |
|
| 144 | + public function orWhereNotExists(Closure $select): WhereStatement | Select | Delete | Update |
|
| 145 | 145 | { |
| 146 | 146 | return $this->addWhereExistsCondition($select, 'OR', true); |
| 147 | 147 | } |
@@ -166,7 +166,7 @@ discard block |
||
| 166 | 166 | mixed $column, |
| 167 | 167 | string $separator = 'AND', |
| 168 | 168 | bool $isExpression = false |
| 169 | - ): WhereStatement|Where { |
|
| 169 | + ): WhereStatement | Where { |
|
| 170 | 170 | if (($column instanceof Closure) && $isExpression === false) { |
| 171 | 171 | $this->queryStatement->addWhereGroup($column, $separator); |
| 172 | 172 | |
@@ -211,7 +211,7 @@ |
||
| 211 | 211 | /** |
| 212 | 212 | * @inheritDoc |
| 213 | 213 | */ |
| 214 | - public function quoteIdentifier(string|Expression $value): string |
|
| 214 | + public function quoteIdentifier(string | Expression $value): string |
|
| 215 | 215 | { |
| 216 | 216 | if ($value instanceof Expression) { |
| 217 | 217 | return $this->getExpressions($value->getExpressions()); |
@@ -494,7 +494,7 @@ |
||
| 494 | 494 | * |
| 495 | 495 | * @return string |
| 496 | 496 | */ |
| 497 | - public function quoteIdentifier(string|Expression $value): string |
|
| 497 | + public function quoteIdentifier(string | Expression $value): string |
|
| 498 | 498 | { |
| 499 | 499 | if ($value instanceof Expression) { |
| 500 | 500 | return $this->getExpressions($value->getExpressions()); |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | * @param string|null $alias |
| 68 | 68 | * @return $this |
| 69 | 69 | */ |
| 70 | - public function column(string|Expression|Closure $name, ?string $alias = null): self |
|
| 70 | + public function column(string | Expression | Closure $name, ?string $alias = null): self |
|
| 71 | 71 | { |
| 72 | 72 | $this->queryStatement->addColumn($name, $alias); |
| 73 | 73 | |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | * @return $this |
| 105 | 105 | */ |
| 106 | 106 | public function count( |
| 107 | - string|array|Expression|Closure $column = '*', |
|
| 107 | + string | array | Expression | Closure $column = '*', |
|
| 108 | 108 | ?string $alias = null, |
| 109 | 109 | bool $distinct = false |
| 110 | 110 | ): self { |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | * @return $this |
| 122 | 122 | */ |
| 123 | 123 | public function avg( |
| 124 | - string|Expression|Closure $column, |
|
| 124 | + string | Expression | Closure $column, |
|
| 125 | 125 | ?string $alias = null, |
| 126 | 126 | bool $distinct = false |
| 127 | 127 | ): self { |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | * @return $this |
| 136 | 136 | */ |
| 137 | 137 | public function sum( |
| 138 | - string|Expression|Closure $column, |
|
| 138 | + string | Expression | Closure $column, |
|
| 139 | 139 | ?string $alias = null, |
| 140 | 140 | bool $distinct = false |
| 141 | 141 | ): self { |
@@ -149,7 +149,7 @@ discard block |
||
| 149 | 149 | * @return $this |
| 150 | 150 | */ |
| 151 | 151 | public function min( |
| 152 | - string|Expression|Closure $column, |
|
| 152 | + string | Expression | Closure $column, |
|
| 153 | 153 | ?string $alias = null, |
| 154 | 154 | bool $distinct = false |
| 155 | 155 | ): self { |
@@ -163,7 +163,7 @@ discard block |
||
| 163 | 163 | * @return $this |
| 164 | 164 | */ |
| 165 | 165 | public function max( |
| 166 | - string|Expression|Closure $column, |
|
| 166 | + string | Expression | Closure $column, |
|
| 167 | 167 | ?string $alias = null, |
| 168 | 168 | bool $distinct = false |
| 169 | 169 | ): self { |