diff options
author | Arnold Daniels <arnold@jasny.net> | 2016-11-21 13:49:38 +0100 |
---|---|---|
committer | Arnold Daniels <arnold@jasny.net> | 2016-11-21 13:49:38 +0100 |
commit | c59a50e4be6636a3efe8c8a15ffc61f83cc7b8e4 (patch) | |
tree | 403f29bf6d632c84de754e98f836610ffee16930 | |
parent | f5c6c856ba7e2a96ffefef278ebc8eb54b167bb9 (diff) | |
download | controller-c59a50e4be6636a3efe8c8a15ffc61f83cc7b8e4.zip controller-c59a50e4be6636a3efe8c8a15ffc61f83cc7b8e4.tar.gz controller-c59a50e4be6636a3efe8c8a15ffc61f83cc7b8e4.tar.bz2 |
Renamed `beforeAction` to `beforeActionRun`.
Method names should not end in `Action`.
-rw-r--r-- | src/Controller/RouteAction.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Controller/RouteAction.php b/src/Controller/RouteAction.php index 330e1a9..32da273 100644 --- a/src/Controller/RouteAction.php +++ b/src/Controller/RouteAction.php @@ -91,7 +91,7 @@ trait RouteAction * } * </code> */ - protected function beforeAction() + protected function beforeActionRun() { } @@ -109,7 +109,7 @@ trait RouteAction return $this->notFound(); } - $this->beforeAction(); + $this->beforeActionRun(); if ($this->isSuccessful()) { $args = isset($route->args) ? $route->args |