From b7b69395e0cdd74982b619d789c647f9d0819c9d Mon Sep 17 00:00:00 2001 From: kenjis Date: Fri, 6 Oct 2023 13:38:59 +0900 Subject: [PATCH] style: remove duplicate () --- system/Debug/Toolbar.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/Debug/Toolbar.php b/system/Debug/Toolbar.php index 19a67b455db3..73c777ba7289 100644 --- a/system/Debug/Toolbar.php +++ b/system/Debug/Toolbar.php @@ -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;