From 35349fda673b60ebc495b3585ed4c48fcc5498e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 16 Dec 2020 16:43: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/Node.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/HttpServer/Route/Node.php b/HttpServer/Route/Node.php index 58840125..37b4f3cc 100644 --- a/HttpServer/Route/Node.php +++ b/HttpServer/Route/Node.php @@ -230,7 +230,6 @@ class Node extends Application foreach ($handler as $closure) { $this->_interceptors[] = $closure; } - $this->restructure(); } @@ -246,7 +245,6 @@ class Node extends Application foreach ($handler as $closure) { $this->_after[] = $closure; } - $this->restructure(); } @@ -262,7 +260,6 @@ class Node extends Application foreach ($handler as $closure) { $this->_limits[] = $closure; } - $this->restructure(); } @@ -384,7 +381,6 @@ class Node extends Application return; } $this->middleware = $this->each($middles, $_tmp); - $this->restructure(); } @@ -409,7 +405,6 @@ class Node extends Application foreach ($class as $closure) { $this->middleware[] = $closure; } - $this->restructure(); }