Jordi Boggiano 13 년 전
부모
커밋
75410d13b7
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/Composer/Command/InstallCommand.php

+ 1 - 0
src/Composer/Command/InstallCommand.php

@@ -40,6 +40,7 @@ class InstallCommand
 
         // TODO this should use the transaction returned by the solver
         foreach ($config['require'] as $name => $version) {
+            unset($package);
             foreach ($packages as $pkg) {
                 if (strtolower($pkg->getName()) === strtolower($name)) {
                     $package = $pkg;