Kaynağa Gözat

Revert constructor arguments to old order for custom installers

Nils Adermann 12 yıl önce
ebeveyn
işleme
a8c0170a91
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/Composer/Plugin/PluginManager.php

+ 1 - 1
src/Composer/Plugin/PluginManager.php

@@ -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();