@@ -8,7 +8,7 @@ |
||
| 8 | 8 | |
| 9 | 9 | final class SqlParser extends AbstractSqlParser |
| 10 | 10 | { |
| 11 | - public function getNextPlaceholder(int|null &$position = null): string|null |
|
| 11 | + public function getNextPlaceholder(int|null&$position = null): string|null |
|
| 12 | 12 | { |
| 13 | 13 | $result = null; |
| 14 | 14 | $length = $this->length - 1; |
@@ -39,12 +39,12 @@ |
||
| 39 | 39 | |
| 40 | 40 | if ($this->hasOffset($offset)) { |
| 41 | 41 | $filters[] = 'rowNumId > ' . |
| 42 | - ($offset instanceof ExpressionInterface ? $this->buildExpression($offset) : (string)$offset); |
|
| 42 | + ($offset instanceof ExpressionInterface ? $this->buildExpression($offset) : (string) $offset); |
|
| 43 | 43 | } |
| 44 | 44 | |
| 45 | 45 | if ($this->hasLimit($limit)) { |
| 46 | 46 | $filters[] = 'rownum <= ' . |
| 47 | - ($limit instanceof ExpressionInterface ? $this->buildExpression($limit) : (string)$limit); |
|
| 47 | + ($limit instanceof ExpressionInterface ? $this->buildExpression($limit) : (string) $limit); |
|
| 48 | 48 | } |
| 49 | 49 | |
| 50 | 50 | if (empty($filters)) { |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | use Rector\Php74\Rector\Closure\ClosureToArrowFunctionRector; |
| 9 | 9 | use Rector\Set\ValueObject\LevelSetList; |
| 10 | 10 | |
| 11 | -return static function (RectorConfig $rectorConfig): void { |
|
| 11 | +return static function(RectorConfig $rectorConfig): void { |
|
| 12 | 12 | $rectorConfig->paths([ |
| 13 | 13 | __DIR__ . '/src', |
| 14 | 14 | /** |