diff --git a/src/Composer/Repository/PlatformRepository.php b/src/Composer/Repository/PlatformRepository.php index eb4c471ec..5c7bd8a67 100644 --- a/src/Composer/Repository/PlatformRepository.php +++ b/src/Composer/Repository/PlatformRepository.php @@ -35,10 +35,10 @@ class PlatformRepository extends ArrayRepository public function __construct(array $packages = array(), array $overrides = array()) { - parent::__construct($packages); foreach ($overrides as $name => $version) { $this->overrides[strtolower($name)] = array('name' => $name, 'version' => $version); } + parent::__construct($packages); } protected function initialize()