| @@ -77,7 +77,7 @@ | ||
| 77 | 77 | * | 
| 78 | 78 | * @return int|numeric-string | 
| 79 | 79 | */ | 
| 80 | - public static function exec(string $sql): int|string | |
| 80 | + public static function exec(string $sql): int | string | |
| 81 | 81 |      { | 
| 82 | 82 | return self::getDB()->exec($sql); | 
| 83 | 83 | } | 
| @@ -53,7 +53,7 @@ | ||
| 53 | 53 | * | 
| 54 | 54 | * @return int|numeric-string | 
| 55 | 55 | */ | 
| 56 | - public function exec(string $sql, array $params = []): int|string | |
| 56 | + public function exec(string $sql, array $params = []): int | string | |
| 57 | 57 |      { | 
| 58 | 58 | return $this->connection->executeStatement($sql, $params); | 
| 59 | 59 | } | 
| @@ -6,10 +6,10 @@ | ||
| 6 | 6 | |
| 7 | 7 | return RectorConfig::configure() | 
| 8 | 8 | ->withPaths([ | 
| 9 | - __DIR__ . '/src', | |
| 10 | - __DIR__ . '/tests', | |
| 9 | + __DIR__.'/src', | |
| 10 | + __DIR__.'/tests', | |
| 11 | 11 | ]) | 
| 12 | 12 | // uncomment to reach your current PHP version | 
| 13 | 13 | ->withPhpSets(php83:true) | 
| 14 | 14 | ->withAttributesSets() | 
| 15 | - ->withPreparedSets(deadCode:true,typeDeclarations:true,codeQuality:true); | |
| 15 | + ->withPreparedSets(deadCode:true, typeDeclarations:true, codeQuality:true); | |
| @@ -198,7 +198,7 @@ discard block | ||
| 198 | 198 | */ | 
| 199 | 199 |      public function refresh(): void{ | 
| 200 | 200 | $model = $this->recordManager->getById($this->getName(), $this->getId()); | 
| 201 | -        if(!is_null($model)){ | |
| 201 | +        if (!is_null($model)) { | |
| 202 | 202 | $this->cleanModel(); | 
| 203 | 203 | $this->setLoadedProperties($model->getSelfProperties()); | 
| 204 | 204 | $this->setLoaded(); | 
| @@ -326,7 +326,7 @@ discard block | ||
| 326 | 326 | * | 
| 327 | 327 | * @throws Exception\InvalidModelException | 
| 328 | 328 | */ | 
| 329 | - private function createCollection(?Collection $collection, array|Collection $models): Collection | |
| 329 | + private function createCollection(?Collection $collection, array | Collection $models): Collection | |
| 330 | 330 |      { | 
| 331 | 331 |          if (is_null($collection)) { | 
| 332 | 332 | $collection = Collection::fromIterable([]); |