Fix reference to getIO as per #3777

main
Edward Hartwell Goose 9 years ago
parent e0ce559838
commit bcb5e479b7

@ -151,7 +151,7 @@ class Application extends BaseApplication
}
if (isset($startTime)) {
$this->getIO->writeError('<info>Memory usage: '.round(memory_get_usage() / 1024 / 1024, 2).'MB (peak: '.round(memory_get_peak_usage() / 1024 / 1024, 2).'MB), time: '.round(microtime(true) - $startTime, 2).'s');
$this->getIO()->writeError('<info>Memory usage: '.round(memory_get_usage() / 1024 / 1024, 2).'MB (peak: '.round(memory_get_peak_usage() / 1024 / 1024, 2).'MB), time: '.round(microtime(true) - $startTime, 2).'s');
}
return $result;

Loading…
Cancel
Save