From e719be501ecf30944fd62b172b2ef1811d42fbbf Mon Sep 17 00:00:00 2001 From: username Date: Sat, 29 Aug 2020 21:15:52 +0200 Subject: [PATCH] Remove unnecessary method call --- src/Composer/Command/SuggestsCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Command/SuggestsCommand.php b/src/Composer/Command/SuggestsCommand.php index d874d1d19..cb1f4e9a6 100644 --- a/src/Composer/Command/SuggestsCommand.php +++ b/src/Composer/Command/SuggestsCommand.php @@ -83,7 +83,7 @@ EOT // Determine output mode, default is by-package $mode = SuggestedPackagesReporter::MODE_BY_PACKAGE; - $io = $this->getIO(); + // if by-suggestion is given we override the default if ($input->getOption('by-suggestion')) { $mode = SuggestedPackagesReporter::MODE_BY_SUGGESTION;