From 8907e1cb69f5bfbbbfb11c74be12560e3620e4b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 2 Aug 2021 11:15:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HttpServer/Http/Response.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HttpServer/Http/Response.php b/HttpServer/Http/Response.php index 988ebdb2..e8ffa25e 100644 --- a/HttpServer/Http/Response.php +++ b/HttpServer/Http/Response.php @@ -347,7 +347,7 @@ class Response extends HttpService */ public function getRuntime(): string { - return sprintf('%.5f', microtime(TRUE) - request()->startTime); + return sprintf('%.5f', microtime(TRUE) - request()->getStartTime()); } }