From 350f531ec7186c36160e830c5bf7c63561df361b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 15 Oct 2020 10:54:09 +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 | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/HttpServer/Route/Router.php b/HttpServer/Route/Router.php index 9d2fb68e..d82e5ab9 100644 --- a/HttpServer/Route/Router.php +++ b/HttpServer/Route/Router.php @@ -308,17 +308,6 @@ class Router extends Application implements RouterInterface } $node->bindMiddleware($name); - $options = array_column($this->groupTacks, 'options'); - if (!empty($options) && is_array($options)) { - $node->bindOptions($options); - } - - $rules = array_column($this->groupTacks, 'filter'); - $rules = array_shift($rules); - if (!empty($rules) && is_array($rules)) { - $node->filter($rules); - } - return $node; }