1
0
Fork 0

Set the platform overrides first

pull/4088/head
nevvermind 2015-06-03 00:06:24 +01:00
parent a747b293b3
commit ec00a4dbfa
1 changed files with 1 additions and 1 deletions

View File

@ -35,10 +35,10 @@ class PlatformRepository extends ArrayRepository
public function __construct(array $packages = array(), array $overrides = array()) public function __construct(array $packages = array(), array $overrides = array())
{ {
parent::__construct($packages);
foreach ($overrides as $name => $version) { foreach ($overrides as $name => $version) {
$this->overrides[strtolower($name)] = array('name' => $name, 'version' => $version); $this->overrides[strtolower($name)] = array('name' => $name, 'version' => $version);
} }
parent::__construct($packages);
} }
protected function initialize() protected function initialize()