Explorar o código

Remove unused used vars

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

+ 1 - 1
src/Composer/Installer/InstallationManager.php

@@ -250,7 +250,7 @@ class InstallationManager
                     if (defined($event) && $runScripts && $dispatcher) {
                         $dispatcher->dispatchPackageEvent(constant($event), $devMode, $repo, $operations, $operation);
                     }
-                }, function ($e) use ($opType, $installer, $package, $initialPackage, $loop, $io) {
+                }, function ($e) use ($opType, $package, $io) {
                     $io->writeError('    <error>' . ucfirst($opType) .' of '.$package->getPrettyName().' failed</error>');
 
                     throw $e;