Skip to content

Commit

Permalink
up fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kiss291323003 committed Jun 9, 2020
1 parent fbe9beb commit cbe1c1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AnnotationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit cbe1c1e

Please sign in to comment.