@@ -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)) { |
@@ -21,7 +21,7 @@ |
||
21 | 21 | use Rector\Set\ValueObject\LevelSetList; |
22 | 22 | use Rector\Set\ValueObject\SetList; |
23 | 23 | |
24 | -return static function (RectorConfig $rectorConfig): void { |
|
24 | +return static function(RectorConfig $rectorConfig): void { |
|
25 | 25 | $basePath = __DIR__.'/../../'; |
26 | 26 | $paths = [ |
27 | 27 | $basePath.'ci', |
@@ -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): array|float|int|string|null |
|
45 | + public function convertToPHPValue($value, AbstractPlatform $platform): array | float | int | string | null |
|
46 | 46 | { |
47 | 47 | if ($value === null) { |
48 | 48 | return null; |