Explorar o código

Remove dead code

Jordi Boggiano %!s(int64=5) %!d(string=hai) anos
pai
achega
29612e8e8e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Composer/Command/CreateProjectCommand.php

+ 1 - 1
src/Composer/Command/CreateProjectCommand.php

@@ -356,7 +356,7 @@ EOT
             ->setPreferDist($preferDist);
 
         $projectInstaller = new ProjectInstaller($directory, $dm);
-        $im = $factory->createInstallationManager(new Loop($httpDownloader), $io, $composer->getEventDispatcher);
+        $im = $factory->createInstallationManager(new Loop($httpDownloader), $io);
         $im->addInstaller($projectInstaller);
         $im->execute(new InstalledFilesystemRepository(new JsonFile('php://memory')), new InstallOperation($package));
         $im->notifyInstalls($io);