Jelajahi Sumber

switch to array-replace-recursive

Rob Bast 9 tahun lalu
induk
melakukan
d6be2a693b
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/Composer/Util/RemoteFilesystem.php

+ 1 - 1
src/Composer/Util/RemoteFilesystem.php

@@ -629,7 +629,7 @@ class RemoteFilesystem
         );
 
         if (isset($options['ssl'])) {
-            $defaults['ssl'] = array_merge_recursive($defaults['ssl'], $options['ssl']);
+            $defaults['ssl'] = array_replace_recursive($defaults['ssl'], $options['ssl']);
         }
 
         /**