Fix type declarations
parent
3c68b579ed
commit
734cbeb610
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue