This commit is contained in:
2021-04-25 11:22:23 +08:00
parent 5e2c46a3aa
commit 77a6445eea
13 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -111,7 +111,7 @@ class Node extends HttpService
if (!($controller instanceof Controller)) {
return $this;
}
$this->annotationInject(get_class($controller), $action);
$this->annotationInject($controller::class, $action);
}
if (!empty($this->handler)) {
$this->callback = Reduce::reduce($this->createDispatch(), $this->annotation());