From 3fb5358d31a33d97b71bf53f524db2f263bdb0c0 Mon Sep 17 00:00:00 2001
From: jurgenhaas <juergen.haas@lakedrops.com>
Date: Fri, 26 Jul 2024 15:33:54 +0200
Subject: [PATCH] composer/plugin/drupal-config#1 Properly merge composer
 extras

---
 src/Plugin.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Plugin.php b/src/Plugin.php
index d99b3b8..870c9c7 100644
--- a/src/Plugin.php
+++ b/src/Plugin.php
@@ -83,7 +83,7 @@ class Plugin implements PluginInterface {
             $extra[$item][$path] = ['type:drupal-' . $type];
           }
         }
-        $extra[$item] += $this->readJson($item, $extra[$key], $io);
+        $extra[$item] = array_merge($extra[$item], $this->readJson($item, $extra[$key], $io));
         $changed = TRUE;
       }
     }
-- 
GitLab