1
0
Fork 0

Fix type declarations

pull/10960/head
Jordi Boggiano 2022-07-20 22:42:57 +02:00
parent 3c68b579ed
commit 734cbeb610
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 2 additions and 6 deletions

View File

@ -42,7 +42,7 @@ class ConsoleIO extends BaseIO
/** @var float */
private $startTime;
/** @var array<int, int> */
/** @var array<IOInterface::*, OutputInterface::VERBOSITY_*> */
private $verbosityMap;
/**
@ -165,12 +165,8 @@ class ConsoleIO extends BaseIO
}
if ($raw) {
if ($sfVerbosity === OutputInterface::OUTPUT_NORMAL) {
$sfVerbosity = OutputInterface::OUTPUT_RAW;
} else {
$sfVerbosity |= OutputInterface::OUTPUT_RAW;
}
}
if (null !== $this->startTime) {
$memoryUsage = memory_get_usage() / 1024 / 1024;