@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | */ |
| 19 | 19 | public static function transformPostgresTextArrayToPHPArray(string $postgresArray): array |
| 20 | 20 | { |
| 21 | - $transform = static function (string $textArrayToTransform): array { |
|
| 21 | + $transform = static function(string $textArrayToTransform): array { |
|
| 22 | 22 | $phpArray = str_getcsv(trim($textArrayToTransform, '{}')); |
| 23 | 23 | foreach ($phpArray as $i => $text) { |
| 24 | 24 | if ($text === null) { |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | */ |
| 58 | 58 | public static function transformPHPArrayToPostgresTextArray(array $phpArray): string |
| 59 | 59 | { |
| 60 | - $transform = static function (array $phpArrayToTransform) use (&$transform): string { |
|
| 60 | + $transform = static function(array $phpArrayToTransform) use (&$transform): string { |
|
| 61 | 61 | $result = []; |
| 62 | 62 | foreach ($phpArrayToTransform as $text) { |
| 63 | 63 | if (is_array($text)) { |