From 2893c7076124580f4669cfda440a4ed165b9ced8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 30 Oct 2020 01:04:54 +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/Router.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HttpServer/Route/Router.php b/HttpServer/Route/Router.php index 94fe3749..9187c51f 100644 --- a/HttpServer/Route/Router.php +++ b/HttpServer/Route/Router.php @@ -38,7 +38,7 @@ class Router extends Application implements RouterInterface public array $methods = ['get', 'post', 'options', 'put', 'delete', 'receive']; - public Closure|null $middleware = null; + public ?Closure $middleware = null; public bool $useTree = false;