Browse Source

Corrects return type of identify() method

Johan Meiring 10 years ago
parent
commit
cc0e6f6bd5
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()
     {