Navigation Menu

Skip to content

Commit

Permalink
Fix doc blocks accuracy
Browse files Browse the repository at this point in the history
  • Loading branch information
bcrowe committed Jan 29, 2014
1 parent f46d938 commit 3558a6f
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Console/Command/UpgradeShell.php
Expand Up @@ -210,6 +210,7 @@ public function app_uses() {
* Replace all the App::uses() calls with `use`.
*
* @param string $file The file to search and replace.
* @return mixed Replacement of uses call
*/
protected function _replaceUses($file) {
$pattern = '#App::uses\([\'"]([a-z0-9_]+)[\'"],\s*[\'"]([a-z0-9/_]+)(?:\.([a-z0-9/_]+))?[\'"]\)#i';
Expand Down
3 changes: 3 additions & 0 deletions src/Controller/Component/Acl/IniAcl.php
Expand Up @@ -57,6 +57,7 @@ public function initialize(Component $component) {
* @param string $aro ARO The requesting object identifier.
* @param string $aco ACO The controlled object identifier.
* @param string $action Action (defaults to *)
* @return void
*/
public function allow($aro, $aco, $action = "*") {
}
Expand All @@ -67,6 +68,7 @@ public function allow($aro, $aco, $action = "*") {
* @param string $aro ARO The requesting object identifier.
* @param string $aco ACO The controlled object identifier.
* @param string $action Action (defaults to *)
* @return void
*/
public function deny($aro, $aco, $action = "*") {
}
Expand All @@ -77,6 +79,7 @@ public function deny($aro, $aco, $action = "*") {
* @param string $aro ARO The requesting object identifier.
* @param string $aco ACO The controlled object identifier.
* @param string $action Action (defaults to *)
* @return void
*/
public function inherit($aro, $aco, $action = "*") {
}
Expand Down
5 changes: 4 additions & 1 deletion src/Controller/Component/Auth/BaseAuthenticate.php
Expand Up @@ -192,10 +192,13 @@ public function getUser(Request $request) {
}

/**
* Handle unauthenticated access attempt.
* Handle unauthenticated access attempt. In implementation, will return true to indicate
* the unauthenticated request has been dealt with and no more action is required by
* AuthComponent or void (default).
*
* @param Cake\Network\Request $request A request object.
* @param Cake\Network\Response $response A response object.
* @return void
*/
public function unauthenticated(Request $request, Response $response) {
}
Expand Down
2 changes: 2 additions & 0 deletions src/Controller/Controller.php
Expand Up @@ -736,6 +736,7 @@ public function beforeRender(Event $event) {
* false to stop redirection event,
* string controllers a new redirection URL or
* array with the keys url, status and exit to be used by the redirect method.
* @return void
* @link http://book.cakephp.org/2.0/en/controllers.html#request-life-cycle-callbacks
*/
public function beforeRedirect(Event $event, $url, $status = null, $exit = true) {
Expand All @@ -745,6 +746,7 @@ public function beforeRedirect(Event $event, $url, $status = null, $exit = true)
* Called after the controller action is run and rendered.
*
* @param Event $event An Event instance
* @return void
* @link http://book.cakephp.org/2.0/en/controllers.html#request-life-cycle-callbacks
*/
public function afterFilter(Event $event) {
Expand Down
1 change: 1 addition & 0 deletions src/Database/IdentifierQuoter.php
Expand Up @@ -154,6 +154,7 @@ protected function _quoteJoins($joins) {
* Quotes the table name and columns for an insert query
*
* @param Query $query
* @return void
*/
protected function _quoteInsert($query) {
list($table, $columns) = $query->clause('insert');
Expand Down

0 comments on commit 3558a6f

Please sign in to comment.