Explorar el Código

Changed array_merge to array_merge_recursive

Jordan Alliot hace 13 años
padre
commit
b4d87af959
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Composer/Util/StreamContextFactory.php

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

@@ -49,7 +49,7 @@ final class StreamContextFactory
             );
         }
 
-        $options = array_merge($options, $defaultOptions);
+        $options = array_merge_recursive($options, $defaultOptions);
         
         return stream_context_create($options, $defaultParams);
     }