1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-07-28 04:00:43 +02:00

Round memory

This commit is contained in:
Barry vd. Heuvel
2020-04-16 11:02:46 +02:00
committed by GitHub
parent fe37f04898
commit 2009a5854c

View File

@@ -67,7 +67,7 @@ class MemoryCollector extends DataCollector implements Renderable
$this->updatePeakUsage();
return array(
'peak_usage' => $this->peakUsage,
'peak_usage_str' => $this->getDataFormatter()->formatBytes($this->peakUsage)
'peak_usage_str' => $this->getDataFormatter()->formatBytes($this->peakUsage, 0)
);
}