Set the platform overrides first
parent
a747b293b3
commit
ec00a4dbfa
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue