parent
3f59c007f7
commit
a4ffda699f
|
@ -98,7 +98,7 @@ class ConsoleIO extends BaseIO
|
||||||
if (null !== $this->startTime) {
|
if (null !== $this->startTime) {
|
||||||
$messages = (array) $messages;
|
$messages = (array) $messages;
|
||||||
$startTime = $this->startTime;
|
$startTime = $this->startTime;
|
||||||
$messages = array_map(function (&$message) use ($startTime) {
|
$messages = array_map(function ($message) use ($startTime) {
|
||||||
return sprintf(
|
return sprintf(
|
||||||
'[%.1fMB/%.2fs] %s',
|
'[%.1fMB/%.2fs] %s',
|
||||||
memory_get_usage() / 1024 / 1024,
|
memory_get_usage() / 1024 / 1024,
|
||||||
|
|
Loading…
Reference in New Issue