Skip to content

Commit

Permalink
Rename GuardHelpers::alreadyAuthenticated() to GuardHelpers::hasUser()
Browse files Browse the repository at this point in the history
  • Loading branch information
mpyw committed Jun 8, 2018
1 parent 9b4c996 commit f6972a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GuardHelpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ public function authenticate()
}

/**
* Determine if the current user is already authenticated without triggering side effects.
* Determine if the guard has the current user without triggering side effects.
*
* @return bool
*/
public function alreadyAuthenticated()
public function hasUser()
{
return ! is_null($this->user);
}
Expand Down

0 comments on commit f6972a5

Please sign in to comment.