From 324db2fa3f7e1c2f7ee8445a3cb4f6389d5cf8de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 3 Aug 2021 15:27:06 +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, 2 insertions(+), 2 deletions(-) diff --git a/HttpServer/Route/Node.php b/HttpServer/Route/Node.php index 419c9ba1..2068214f 100644 --- a/HttpServer/Route/Node.php +++ b/HttpServer/Route/Node.php @@ -160,7 +160,7 @@ class Node extends HttpService * @param IAspect|null $reflect * @return Closure */ - private function aopHandler(?IAspect $reflect): Closure + #[Pure] private function aopHandler(?IAspect $reflect): Closure { if (is_null($reflect)) { return $this->normalHandler($this->handler); @@ -175,7 +175,7 @@ class Node extends HttpService /** - * @throws ReflectionException + * @throws ReflectionException|NotFindClassException */ private function getAop(): ?IAspect {