@@ -31,7 +31,7 @@ |
||
31 | 31 | return $postgresValue; |
32 | 32 | } |
33 | 33 | |
34 | - protected function transformFromPostgresJson(string $postgresValue): null|array|bool|float|int|string |
|
34 | + protected function transformFromPostgresJson(string $postgresValue): null | array | bool | float | int | string |
|
35 | 35 | { |
36 | 36 | // @phpstan-ignore-next-line |
37 | 37 | return \json_decode($postgresValue, true, 512, JSON_THROW_ON_ERROR); |
@@ -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): null|array|bool|float|int|string |
|
45 | + public function convertToPHPValue($value, AbstractPlatform $platform): null | array | bool | float | int | string |
|
46 | 46 | { |
47 | 47 | if ($value === null) { |
48 | 48 | return null; |
@@ -224,7 +224,7 @@ |
||
224 | 224 | /** |
225 | 225 | * Process a numeric value. |
226 | 226 | */ |
227 | - private static function processNumericValue(string $value): float|int |
|
227 | + private static function processNumericValue(string $value): float | int |
|
228 | 228 | { |
229 | 229 | // Convert to int or float as appropriate |
230 | 230 | if (\str_contains($value, '.') || \stripos($value, 'e') !== false) { |