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) {