Skip to content

Commit

Permalink
Update phpdoc in AuthComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
podliy16 committed Mar 2, 2016
1 parent 03e2390 commit 71ab8f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/Component/AuthComponent.php
Expand Up @@ -657,7 +657,7 @@ public function logout()
* Get the current user from storage.
*
* @param string $key Field to retrieve. Leave null to get entire User record.
* @return array|null Either User record or null if no user is logged in.
* @return mixed Either User record or null if no user is logged in, or retrieved field if key is specified.
* @link http://book.cakephp.org/3.0/en/controllers/components/authentication.html#accessing-the-logged-in-user
*/
public function user($key = null)
Expand Down

0 comments on commit 71ab8f6

Please sign in to comment.