From ee0fc46d346e014f5f10fb70d23166ece070fa48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 30 Oct 2020 01:28:45 +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/Node.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/HttpServer/Route/Node.php b/HttpServer/Route/Node.php index b96d2973..bf8d154b 100644 --- a/HttpServer/Route/Node.php +++ b/HttpServer/Route/Node.php @@ -41,7 +41,9 @@ class Node extends Application public bool $enableHtmlSuffix = false; public array $namespace = []; public array $middleware = []; - public array $callback = []; + + /** @var array|Closure */ + public $callback = []; private string $_alias = '';