Skip to content

Commit

Permalink
Merge pull request #8013 from kenjis/style-Toolbar-totalMemory
Browse files Browse the repository at this point in the history
style: remove unnecessary () in Toolbar
  • Loading branch information
kenjis authored Oct 8, 2023
2 parents 56ed7b2 + b7b6939 commit 1c9d597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Debug/Toolbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function run(float $startTime, float $totalTime, RequestInterface $reques
$data['isAJAX'] = $request->isAJAX();
$data['startTime'] = $startTime;
$data['totalTime'] = $totalTime * 1000;
$data['totalMemory'] = number_format((memory_get_peak_usage()) / 1024 / 1024, 3);
$data['totalMemory'] = number_format(memory_get_peak_usage() / 1024 / 1024, 3);
$data['segmentDuration'] = $this->roundTo($data['totalTime'] / 7);
$data['segmentCount'] = (int) ceil($data['totalTime'] / $data['segmentDuration']);
$data['CI_VERSION'] = CodeIgniter::CI_VERSION;
Expand Down

0 comments on commit 1c9d597

Please sign in to comment.