소스 검색

Changed array_merge to array_merge_recursive

Jordan Alliot 13 년 전
부모
커밋
b4d87af959
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);
     }