Remove arguments of beforeAction() method
This commit is contained in:
@@ -147,7 +147,7 @@ class Router extends Base
|
||||
}
|
||||
|
||||
$instance = new $class($this->container);
|
||||
$instance->beforeAction($this->controller, $this->action);
|
||||
$instance->beforeAction();
|
||||
$instance->{$this->action}();
|
||||
return $instance;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user