Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
IonBazan committed Apr 26, 2024
1 parent a2e4301 commit 339df84
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/Command/DiffCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use IonBazan\ComposerDiff\Diff\DiffEntries;
use IonBazan\ComposerDiff\Diff\DiffEntry;
use IonBazan\ComposerDiff\Formatter\Formatter;
use IonBazan\ComposerDiff\Formatter\FormatterContainer;
use IonBazan\ComposerDiff\PackageDiff;
use IonBazan\ComposerDiff\Url\GeneratorContainer;
Expand Down Expand Up @@ -199,15 +198,4 @@ private function hasDowngrades(DiffEntries $entries)

return false;
}

/**
* @return Formatter
*/
private function getFormatter(InputInterface $input, OutputInterface $output)
{
$urlGenerators = new GeneratorContainer($this->gitlabDomains);
$formatters = new FormatterContainer($output, $urlGenerators);

return $formatters->getFormatter($input->getOption('format'));
}
}

0 comments on commit 339df84

Please sign in to comment.