Преглед на файлове

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'])) {