From 734cbeb6107843ed8199f129fa394dceb1735579 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Wed, 20 Jul 2022 22:42:57 +0200 Subject: [PATCH] Fix type declarations --- src/Composer/IO/ConsoleIO.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/Composer/IO/ConsoleIO.php b/src/Composer/IO/ConsoleIO.php index 971d52736..aaac64495 100644 --- a/src/Composer/IO/ConsoleIO.php +++ b/src/Composer/IO/ConsoleIO.php @@ -42,7 +42,7 @@ class ConsoleIO extends BaseIO /** @var float */ private $startTime; - /** @var array */ + /** @var array */ private $verbosityMap; /** @@ -165,11 +165,7 @@ class ConsoleIO extends BaseIO } if ($raw) { - if ($sfVerbosity === OutputInterface::OUTPUT_NORMAL) { - $sfVerbosity = OutputInterface::OUTPUT_RAW; - } else { - $sfVerbosity |= OutputInterface::OUTPUT_RAW; - } + $sfVerbosity |= OutputInterface::OUTPUT_RAW; } if (null !== $this->startTime) {