Преглед на файлове

Use array_replace_recursive() instead of array_merge_recursive()

Sander Marechal преди 12 години
родител
ревизия
0d9e08f9af
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/Composer/Util/RemoteFilesystem.php

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

@@ -243,7 +243,7 @@ class RemoteFilesystem
             $options['http']['header'] .= "Authorization: Basic $authStr\r\n";
         }
 
-        $options = array_merge_recursive($options, $this->options);
+        $options = array_replace_recursive($options, $this->options);
 
         return $options;
     }