| @@ -19,7 +19,7 @@ discard block | ||
| 19 | 19 | */ | 
| 20 | 20 | public static function transformPostgresTextArrayToPHPArray(string $postgresArray): array | 
| 21 | 21 |      { | 
| 22 | -        $transform = static function (string $textArrayToTransform): array { | |
| 22 | +        $transform = static function(string $textArrayToTransform): array { | |
| 23 | 23 |              $indicatesMultipleDimensions = \mb_strpos($textArrayToTransform, '},{') !== false | 
| 24 | 24 |                  || \mb_strpos($textArrayToTransform, '{{') === 0; | 
| 25 | 25 |              if ($indicatesMultipleDimensions) { | 
| @@ -65,7 +65,7 @@ discard block | ||
| 65 | 65 | */ | 
| 66 | 66 | public static function transformPHPArrayToPostgresTextArray(array $phpArray): string | 
| 67 | 67 |      { | 
| 68 | -        $transform = static function (array $phpArrayToTransform): string { | |
| 68 | +        $transform = static function(array $phpArrayToTransform): string { | |
| 69 | 69 | $result = []; | 
| 70 | 70 |              foreach ($phpArrayToTransform as $text) { | 
| 71 | 71 |                  if (\is_array($text)) { | 
| @@ -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; |