Browse Source

Merge pull request #7689 from johanmeiring/master

Corrects return type of identify() method
ADmad 10 years ago
parent
commit
b9d608115a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Controller/Component/AuthComponent.php

+ 1 - 1
src/Controller/Component/AuthComponent.php

@@ -751,7 +751,7 @@ class AuthComponent extends Component
      * Triggers `Auth.afterIdentify` event which the authenticate classes can listen
      * to.
      *
-     * @return array User record data, or false, if the user could not be identified.
+     * @return array|bool User record data, or false, if the user could not be identified.
      */
     public function identify()
     {