Browse Source

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

Jordi Boggiano 11 năm trước cách đây
mục cha
commit
d9fe17443b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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'])) {