فهرست منبع

Revert constructor arguments to old order for custom installers

Nils Adermann 12 سال پیش
والد
کامیت
a8c0170a91
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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();