Skip to content

Commit

Permalink
updated @return for user()
Browse files Browse the repository at this point in the history
  • Loading branch information
antograssiot committed Jul 30, 2014
1 parent ed2a9e7 commit e8e2131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/Component/AuthComponent.php
Expand Up @@ -631,7 +631,7 @@ public function logout() {
* cookies + sessions will be used.
*
* @param string $key field to retrieve. Leave null to get entire User record
* @return mixed User record or null if no user is logged in.
* @return array|null Either User record or null if no user is logged in.
* @link http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#accessing-the-logged-in-user
*/
public function user($key = null) {
Expand Down

0 comments on commit e8e2131

Please sign in to comment.