소스 검색

Allow empty json files to be merged into a config, fixes #3055

Jordi Boggiano 11 년 전
부모
커밋
d9fe17443b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Composer/Config.php

+ 1 - 1
src/Composer/Config.php

@@ -90,7 +90,7 @@ class Config
      *
      * @param array $config
      */
-    public function merge(array $config)
+    public function merge($config)
     {
         // override defaults with given config
         if (!empty($config['config']) && is_array($config['config'])) {