This commit is contained in:
2021-03-05 17:41:29 +08:00
parent fad7c43f59
commit 64f148580f
+1 -1
View File
@@ -277,7 +277,7 @@ class Node extends HttpService
throw new Exception('method ' . $action . ' not exists at ' . $controller . '.'); throw new Exception('method ' . $action . ' not exists at ' . $controller . '.');
} }
static::annotationInject($this, $reflect->getName(), $action); $this->annotationInject($reflect->getName(), $action);
return [$reflect->newInstance(), $action]; return [$reflect->newInstance(), $action];
} catch (Throwable $exception) { } catch (Throwable $exception) {