diff --git a/Controller/Component/Auth/CookieAuthenticate.php b/Controller/Component/Auth/CookieAuthenticate.php index b6d3dbe..3f5135e 100644 --- a/Controller/Component/Auth/CookieAuthenticate.php +++ b/Controller/Component/Auth/CookieAuthenticate.php @@ -79,7 +79,7 @@ public function getUser(CakeRequest $request) { * * @param CakeRequest $request Request object. * @param CakeResponse $response Response object. - * @return array|boolean Array of user info on success, false on falure. + * @return array|bool Array of user info on success, false on failure. */ public function authenticate(CakeRequest $request, CakeResponse $response) { return $this->getUser($request); diff --git a/Controller/Component/Auth/TokenAuthenticate.php b/Controller/Component/Auth/TokenAuthenticate.php index f34a101..1d02541 100644 --- a/Controller/Component/Auth/TokenAuthenticate.php +++ b/Controller/Component/Auth/TokenAuthenticate.php @@ -81,7 +81,7 @@ public function __construct(ComponentCollection $collection, $settings) { * * @param CakeRequest $request The request object. * @param CakeResponse $response response object. - * @return boolean Always false. + * @return bool Always false. */ public function authenticate(CakeRequest $request, CakeResponse $response) { return false; @@ -92,7 +92,7 @@ public function authenticate(CakeRequest $request, CakeResponse $response) { * * @param CakeRequest $request The request object. * @param CakeResponse $response The response object. - * @return boolean False on failure, user on success. + * @return bool False on failure, user on success. * @throws HttpException or the one specified using $settings['unauthorized'] */ public function unauthenticated(CakeRequest $request, CakeResponse $response) {