diff --git a/src/AnnotationController.php b/src/AnnotationController.php index 4d1235b..1ef11ae 100644 --- a/src/AnnotationController.php +++ b/src/AnnotationController.php @@ -132,7 +132,7 @@ protected function __exec() $allowMethodReflections = $this->getAllowMethodReflections(); $forwardPath = null; try { - $ret = call_user_func([$this,'onRequest'],...$this->__handleAnnotationParams('onRequest')); + $ret = call_user_func([$this,'onRequest'],$actionName,...$this->__handleAnnotationParams('onRequest')); if ($ret !== false) { if (isset($allowMethodReflections[$actionName])) { $actionArgs = $this->__handleAnnotationParams($actionName);