Browse Source

Use array_replace_recursive() instead of array_merge_recursive()

Sander Marechal 12 years ago
parent
commit
0d9e08f9af
1 changed files with 1 additions and 1 deletions
  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;
     }