@@ -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): null|array|bool|float|int|string |
|
56 | + public static function transformPostgresJsonEncodedValueToPHPValue(string $postgresValue): null | array | bool | float | int | string |
|
57 | 57 | { |
58 | 58 | try { |
59 | 59 | // @phpstan-ignore-next-line |
@@ -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) { |
@@ -32,7 +32,7 @@ |
||
32 | 32 | return $postgresValue; |
33 | 33 | } |
34 | 34 | |
35 | - protected function transformFromPostgresJson(string $postgresValue): null|array|bool|float|int|string |
|
35 | + protected function transformFromPostgresJson(string $postgresValue): null | array | bool | float | int | string |
|
36 | 36 | { |
37 | 37 | return PostgresJsonToPHPArrayTransformer::transformPostgresJsonEncodedValueToPHPValue($postgresValue); |
38 | 38 | } |