@@ -42,7 +42,7 @@  | 
                                                    ||
| 42 | 42 | *  | 
                                                        
| 43 | 43 | * @param string|null $value the value to convert  | 
                                                        
| 44 | 44 | */  | 
                                                        
| 45 | - public function convertToPHPValue($value, AbstractPlatform $platform): array|bool|float|int|string|null  | 
                                                        |
| 45 | + public function convertToPHPValue($value, AbstractPlatform $platform): array | bool | float | int | string | null  | 
                                                        |
| 46 | 46 |      { | 
                                                        
| 47 | 47 |          if ($value === null) { | 
                                                        
| 48 | 48 | return null;  | 
                                                        
@@ -203,7 +203,7 @@  | 
                                                    ||
| 203 | 203 | return \is_numeric($value);  | 
                                                        
| 204 | 204 | }  | 
                                                        
| 205 | 205 | |
| 206 | - private static function processNumericValue(string $value): float|int  | 
                                                        |
| 206 | + private static function processNumericValue(string $value): float | int  | 
                                                        |
| 207 | 207 |      { | 
                                                        
| 208 | 208 | // Convert to int or float as appropriate  | 
                                                        
| 209 | 209 |          if (\str_contains($value, '.') || \stripos($value, 'e') !== false) { | 
                                                        
@@ -31,7 +31,8 @@  | 
                                                    ||
| 31 | 31 | protected readonly bool $isLowerBracketInclusive = true,  | 
                                                        
| 32 | 32 | protected readonly bool $isUpperBracketInclusive = false,  | 
                                                        
| 33 | 33 | protected readonly bool $isExplicitlyEmpty = false,  | 
                                                        
| 34 | -    ) {} | 
                                                        |
| 34 | +    ) { | 
                                                        |
| 35 | +}  | 
                                                        |
| 35 | 36 | |
| 36 | 37 | public function __toString(): string  | 
                                                        
| 37 | 38 |      { | 
                                                        
@@ -51,7 +51,7 @@  | 
                                                    ||
| 51 | 51 | return (string) $value;  | 
                                                        
| 52 | 52 | }  | 
                                                        
| 53 | 53 | |
| 54 | - protected static function parseValue(string $value): float|int  | 
                                                        |
| 54 | + protected static function parseValue(string $value): float | int  | 
                                                        |
| 55 | 55 |      { | 
                                                        
| 56 | 56 |          if (!\is_numeric($value)) { | 
                                                        
| 57 | 57 | throw new \InvalidArgumentException(  | 
                                                        
@@ -11,4 +11,6 @@  | 
                                                    ||
| 11 | 11 | *  | 
                                                        
| 12 | 12 | * @author Martin Georgiev <[email protected]>  | 
                                                        
| 13 | 13 | */  | 
                                                        
| 14 | -final class Int8Range extends BaseIntegerRange {} | 
                                                        |
| 14 | +final class Int8Range extends BaseIntegerRange  | 
                                                        |
| 15 | +{ | 
                                                        |
| 16 | +}  | 
                                                        |
@@ -27,7 +27,8 @@  | 
                                                    ||
| 27 | 27 | private readonly GeometryType $geometryType,  | 
                                                        
| 28 | 28 | private readonly string $wktBody,  | 
                                                        
| 29 | 29 | private readonly ?DimensionalModifier $dimensionalModifier = null  | 
                                                        
| 30 | -    ) {} | 
                                                        |
| 30 | +    ) { | 
                                                        |
| 31 | +}  | 
                                                        |
| 31 | 32 | |
| 32 | 33 | public function __toString(): string  | 
                                                        
| 33 | 34 |      { | 
                                                        
@@ -124,8 +124,8 @@ discard block  | 
                                                    ||
| 124 | 124 | * @param int|null $srid Optional SRID (commonly 4326 for WGS84)  | 
                                                        
| 125 | 125 | */  | 
                                                        
| 126 | 126 | public static function point(  | 
                                                        
| 127 | - float|int|string $longitude,  | 
                                                        |
| 128 | - float|int|string $latitude,  | 
                                                        |
| 127 | + float | int | string $longitude,  | 
                                                        |
| 128 | + float | int | string $latitude,  | 
                                                        |
| 129 | 129 | ?int $srid = null  | 
                                                        
| 130 | 130 |      ): self { | 
                                                        
| 131 | 131 |          return new self($srid, GeometryType::POINT, \sprintf('%s %s', $longitude, $latitude)); | 
                                                        
@@ -140,9 +140,9 @@ discard block  | 
                                                    ||
| 140 | 140 | * @param int|null $srid Optional SRID (commonly 4326 for WGS84)  | 
                                                        
| 141 | 141 | */  | 
                                                        
| 142 | 142 | public static function point3d(  | 
                                                        
| 143 | - float|int|string $longitude,  | 
                                                        |
| 144 | - float|int|string $latitude,  | 
                                                        |
| 145 | - float|int|string $elevation,  | 
                                                        |
| 143 | + float | int | string $longitude,  | 
                                                        |
| 144 | + float | int | string $latitude,  | 
                                                        |
| 145 | + float | int | string $elevation,  | 
                                                        |
| 146 | 146 | ?int $srid = null  | 
                                                        
| 147 | 147 |      ): self { | 
                                                        
| 148 | 148 |          return new self($srid, GeometryType::POINT, \sprintf('%s %s %s', $longitude, $latitude, $elevation), DimensionalModifier::Z); | 
                                                        
@@ -53,7 +53,7 @@  | 
                                                    ||
| 53 | 53 | /**  | 
                                                        
| 54 | 54 | * @throws InvalidJsonItemForPHPException When the PostgreSQL value is not JSON-decodable  | 
                                                        
| 55 | 55 | */  | 
                                                        
| 56 | - public static function transformPostgresJsonEncodedValueToPHPValue(string $postgresValue): array|bool|float|int|string|null  | 
                                                        |
| 56 | + public static function transformPostgresJsonEncodedValueToPHPValue(string $postgresValue): array | bool | float | int | string | null  | 
                                                        |
| 57 | 57 |      { | 
                                                        
| 58 | 58 |          try { | 
                                                        
| 59 | 59 | // @phpstan-ignore-next-line  | 
                                                        
@@ -32,7 +32,7 @@  | 
                                                    ||
| 32 | 32 | return $postgresValue;  | 
                                                        
| 33 | 33 | }  | 
                                                        
| 34 | 34 | |
| 35 | - protected function transformFromPostgresJson(string $postgresValue): array|bool|float|int|string|null  | 
                                                        |
| 35 | + protected function transformFromPostgresJson(string $postgresValue): array | bool | float | int | string | null  | 
                                                        |
| 36 | 36 |      { | 
                                                        
| 37 | 37 | return PostgresJsonToPHPArrayTransformer::transformPostgresJsonEncodedValueToPHPValue($postgresValue);  | 
                                                        
| 38 | 38 | }  |