1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-11 01:22:54 +00:00

Revert constructor arguments to old order for custom installers

This commit is contained in:
Nils Adermann 2013-08-16 15:14:38 +02:00
parent 15ac7be6f1
commit a8c0170a91

View file

@ -175,7 +175,7 @@ class PluginManager
}
if ($oldInstallerPlugin) {
$installer = new $class($this->composer, $this->io);
$installer = new $class($this->io, $this->composer);
$this->composer->getInstallationManager()->addInstaller($installer);
} else {
$plugin = new $class();