1
0
Fork 0

Suppress unused parameters in HomeCommand

pull/3601/head
SofHad 2014-12-28 00:53:35 +01:00
parent 4569f528f6
commit 5c43485e57
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);