Ver código fonte

[Command] removed unused local variable $composer in UpdateCommand::execute() method.

Hugo Hamon 13 anos atrás
pai
commit
747abf6843
1 arquivos alterados com 1 adições e 2 exclusões
  1. 1 2
      src/Composer/Command/UpdateCommand.php

+ 1 - 2
src/Composer/Command/UpdateCommand.php

@@ -53,9 +53,8 @@ EOT
 
     protected function execute(InputInterface $input, OutputInterface $output)
     {
-        $composer = $this->getComposer();
-
         $installCommand = $this->getApplication()->find('install');
+
         return $installCommand->install($input, $output, true);
     }
 }