Skip to content

Commit

Permalink
Fix documentation of controller callbacks.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Scherer committed Nov 2, 2015
1 parent a448f49 commit 38951b2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Controller/Controller.php
Expand Up @@ -718,7 +718,7 @@ public function isAction($action)
* or perform logic that needs to happen before each controller action.
*
* @param Event $event An Event instance
* @return void
* @return \Cake\Network\Response|null
* @link http://book.cakephp.org/3.0/en/controllers.html#request-life-cycle-callbacks
*/
public function beforeFilter(Event $event)
Expand All @@ -730,7 +730,7 @@ public function beforeFilter(Event $event)
* to perform logic or set view variables that are required on every request.
*
* @param Event $event An Event instance
* @return void
* @return \Cake\Network\Response|null
* @link http://book.cakephp.org/3.0/en/controllers.html#request-life-cycle-callbacks
*/
public function beforeRender(Event $event)
Expand All @@ -750,7 +750,7 @@ public function beforeRender(Event $event)
* @param string|array $url A string or array-based URL pointing to another location within the app,
* or an absolute URL
* @param \Cake\Network\Response $response The response object.
* @return void
* @return \Cake\Network\Response|null
* @link http://book.cakephp.org/3.0/en/controllers.html#request-life-cycle-callbacks
*/
public function beforeRedirect(Event $event, $url, Response $response)
Expand All @@ -761,7 +761,7 @@ public function beforeRedirect(Event $event, $url, Response $response)
* Called after the controller action is run and rendered.
*
* @param Event $event An Event instance
* @return void
* @return \Cake\Network\Response|null
* @link http://book.cakephp.org/3.0/en/controllers.html#request-life-cycle-callbacks
*/
public function afterFilter(Event $event)
Expand Down

0 comments on commit 38951b2

Please sign in to comment.