From 2c1605925b6a7496406c4b5398db39284b57af38 Mon Sep 17 00:00:00 2001 From: Igor Wiedler Date: Fri, 30 Sep 2011 18:05:28 +0200 Subject: [PATCH] ArrayLoader should not use require content for all other properties --- src/Composer/Package/Loader/ArrayLoader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) ); } }