From b153ea4aaa229971c042e8b819da071d09381b2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 24 Sep 2021 18:32:14 +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 --- http-handler/Abstracts/Handler.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/http-handler/Abstracts/Handler.php b/http-handler/Abstracts/Handler.php index 26b0113b..39e0bb01 100644 --- a/http-handler/Abstracts/Handler.php +++ b/http-handler/Abstracts/Handler.php @@ -28,6 +28,8 @@ abstract class Handler implements RequestHandlerInterface public function __construct(public CHl $handler, public ?Iterator $middlewares) { $this->aspectProxy = Kiri::getDi()->get(AspectProxy::class); + + $this->middlewares->rewind(); }