diff --git a/src/Composer/Package/Loader/ArrayLoader.php b/src/Composer/Package/Loader/ArrayLoader.php index 146522ec3..620cfe7f0 100644 --- a/src/Composer/Package/Loader/ArrayLoader.php +++ b/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]) ); } }