From 99becd3661469253379fdc1058e2e90f9770859a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 14 Dec 2020 17:45:39 +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/Route/CoreMiddleware.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HttpServer/Route/CoreMiddleware.php b/HttpServer/Route/CoreMiddleware.php index 5a3ccc66..3d7d9782 100644 --- a/HttpServer/Route/CoreMiddleware.php +++ b/HttpServer/Route/CoreMiddleware.php @@ -25,7 +25,7 @@ class CoreMiddleware implements \HttpServer\IInterface\Middleware * @return mixed * @throws Exception */ - public function handler(Request $request, Closure $next) + public function onHandler(Request $request, Closure $next): mixed { $headers = $request->headers;