From 64f148580f82bf5b798e1b3a72995df2883e3c63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 5 Mar 2021 17:41:29 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HttpServer/Route/Node.php b/HttpServer/Route/Node.php index 0e99d061..114690e6 100644 --- a/HttpServer/Route/Node.php +++ b/HttpServer/Route/Node.php @@ -277,7 +277,7 @@ class Node extends HttpService throw new Exception('method ' . $action . ' not exists at ' . $controller . '.'); } - static::annotationInject($this, $reflect->getName(), $action); + $this->annotationInject($reflect->getName(), $action); return [$reflect->newInstance(), $action]; } catch (Throwable $exception) {