1
0
Fork 0

Another MB to MiB

pull/7926/head
Michael Käfer 2018-12-28 15:07:21 +01:00 committed by Jordi Boggiano
parent 4765a8f21b
commit e0c44f2a25
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ class ConsoleIO extends BaseIO
$memoryUsage = memory_get_usage() / 1024 / 1024;
$timeSpent = microtime(true) - $this->startTime;
$messages = array_map(function ($message) use ($memoryUsage, $timeSpent) {
return sprintf('[%.1fMB/%.2fs] %s', $memoryUsage, $timeSpent, $message);
return sprintf('[%.1fMiB/%.2fs] %s', $memoryUsage, $timeSpent, $message);
}, (array) $messages);
}