Skip to content
Permalink
Browse files

Update phpdoc in AuthComponent

  • Loading branch information...
podliy16 committed Mar 2, 2016
1 parent 71ab8f6 commit 9bfb7b74c5f4ee909dbde899e6d8e06845cab230
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Controller/Component/AuthComponent.php
@@ -656,8 +656,8 @@ public function logout()
/**
* Get the current user from storage.
*
* @param string $key Field to retrieve. Leave null to get entire User record.
* @return mixed Either User record or null if no user is logged in, or retrieved field if key is specified.
* @param string|null $key Field to retrieve. Leave null to get entire User record.
* @return mixed|null 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)

0 comments on commit 9bfb7b7

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