1
0
Fork 0

Merge pull request #3601 from SofHad/unused-parameters

Suppress unused parameters in HomeCommand
pull/3614/head
Jordi Boggiano 2015-01-01 20:54:37 +00:00
commit ddc1d377d7
1 changed files with 3 additions and 5 deletions

View File

@ -55,7 +55,7 @@ EOT
*/ */
protected function execute(InputInterface $input, OutputInterface $output) protected function execute(InputInterface $input, OutputInterface $output)
{ {
$repo = $this->initializeRepo($input, $output); $repo = $this->initializeRepo();
$return = 0; $return = 0;
foreach ($input->getArgument('packages') as $packageName) { foreach ($input->getArgument('packages') as $packageName) {
@ -138,13 +138,11 @@ EOT
} }
/** /**
* initializes the repo * Initializes the repo
* *
* @param InputInterface $input
* @param OutputInterface $output
* @return CompositeRepository * @return CompositeRepository
*/ */
private function initializeRepo(InputInterface $input, OutputInterface $output) private function initializeRepo()
{ {
$composer = $this->getComposer(false); $composer = $this->getComposer(false);