Skip to content
Permalink
Browse files

Fix documentation of controller callbacks.

  • Loading branch information...
dereuromark committed Nov 2, 2015
1 parent a448f49 commit 38951b210903ea255ac9ecb4c99f381f854eb76e
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/Controller/Controller.php
@@ -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)
@@ -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)
@@ -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)
@@ -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)

0 comments on commit 38951b2

Please sign in to comment.
You can’t perform that action at this time.