Quellcode durchsuchen

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

Hugo Hamon vor 13 Jahren
Ursprung
Commit
747abf6843
1 geänderte Dateien mit 1 neuen und 2 gelöschten Zeilen
  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);
     }
 }