Browse Source

round(()*1000.0)

visuddhinanda 2 years ago
parent
commit
b1409b3ac7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Middleware/ApiLog.php

+ 1 - 1
app/Http/Middleware/ApiLog.php

@@ -22,7 +22,7 @@ class ApiLog
         $response = $next($request);
         if (defined('LARAVEL_START'))
         {
-            $delay = round((microtime(true) - LARAVEL_START)*1000,2);
+            $delay = round((microtime(true) - LARAVEL_START)*1000.0);
             $api = [];
             $api[] = date("h:i:sa",LARAVEL_START);
             $api[] = $delay;