@@ -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)) { |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | { |
| 35 | 35 | $phpArray = parent::convertToPHPValue($postgresArray, $platform); |
| 36 | 36 | if (\is_array($phpArray)) { |
| 37 | - $phpArray = \array_map(static function ($value) use ($platform) { return $platform->convertFromBoolean($value); }, $phpArray); |
|
| 37 | + $phpArray = \array_map(static function($value) use ($platform) { return $platform->convertFromBoolean($value); }, $phpArray); |
|
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | return $phpArray; |