Passed
Push — 107-heavy-composer-package-wit... ( a3c6cc...2a42d6 )
by Martin
07:22
created
src/MartinGeorgiev/Utils/DataStructure.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)) {
Please login to merge, or discard this patch.
src/MartinGeorgiev/Doctrine/DBAL/Types/BooleanArray.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.