فهرست منبع

round(()*1000.0)

visuddhinanda 2 سال پیش
والد
کامیت
b1409b3ac7
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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;