Revert constructor arguments to old order for custom installers
parent
15ac7be6f1
commit
a8c0170a91
|
@ -175,7 +175,7 @@ class PluginManager
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($oldInstallerPlugin) {
|
if ($oldInstallerPlugin) {
|
||||||
$installer = new $class($this->composer, $this->io);
|
$installer = new $class($this->io, $this->composer);
|
||||||
$this->composer->getInstallationManager()->addInstaller($installer);
|
$this->composer->getInstallationManager()->addInstaller($installer);
|
||||||
} else {
|
} else {
|
||||||
$plugin = new $class();
|
$plugin = new $class();
|
||||||
|
|
Loading…
Reference in New Issue