Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

Commit

Permalink
Fix cs errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ceeram committed Apr 8, 2015
1 parent c659d30 commit e9b521d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Controller/Component/Auth/CookieAuthenticate.php
Expand Up @@ -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);
Expand Down
7 changes: 4 additions & 3 deletions Controller/Component/Auth/TokenAuthenticate.php
Expand Up @@ -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;
Expand All @@ -92,8 +92,9 @@ 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.
* @throws HttpException or the one specified using $settings['unauthorized']
* @return bool False on failure, user on success.
* @throws Exception If one specified using $settings['unauthorized']
* @throws HttpException If none specified using $settings['unauthorized']
*/
public function unauthenticated(CakeRequest $request, CakeResponse $response) {
if ($this->settings['continue']) {
Expand Down

0 comments on commit e9b521d

Please sign in to comment.