@@ -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 { |
@@ -573,7 +573,7 @@ discard block |
||
| 573 | 573 | |
| 574 | 574 | return (string) preg_replace_callback( |
| 575 | 575 | '/\?/', |
| 576 | - function () use ($driver, &$params) { |
|
| 576 | + function() use ($driver, &$params) { |
|
| 577 | 577 | $param = array_shift($params); |
| 578 | 578 | |
| 579 | 579 | $value = is_object($param) ? get_class($param) : $param; |
@@ -657,7 +657,7 @@ discard block |
||
| 657 | 657 | $start = microtime(true); |
| 658 | 658 | $result = $prepared['statement']->execute(); |
| 659 | 659 | $executionTime = microtime(true) - $start; |
| 660 | - $sqlLog['time'] = (int)($executionTime * 1000); // millisecond |
|
| 660 | + $sqlLog['time'] = (int) ($executionTime * 1000); // millisecond |
|
| 661 | 661 | |
| 662 | 662 | $this->logs[] = $sqlLog; |
| 663 | 663 | |