Completed
Push — develop ( cd5b84...806cc2 )
by Martin
02:25 queued 20s
created
src/MartinGeorgiev/Utils/DataStructure.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)) {
Please login to merge, or discard this patch.