Explorar el Código

ArrayLoader should not use require content for all other properties

Igor Wiedler hace 13 años
padre
commit
2c1605925b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Composer/Package/Loader/ArrayLoader.php

+ 1 - 1
src/Composer/Package/Loader/ArrayLoader.php

@@ -88,7 +88,7 @@ class ArrayLoader
             if (isset($config[$type])) {
                 $method = 'set'.ucfirst($description);
                 $package->{$method}(
-                    $this->loadLinksFromConfig($package->getName(), $description, $config['require'])
+                    $this->loadLinksFromConfig($package->getName(), $description, $config[$type])
                 );
             }
         }