diff --git a/GuardHelpers.php b/GuardHelpers.php index 01e6cbd8e..1785904f3 100644 --- a/GuardHelpers.php +++ b/GuardHelpers.php @@ -2,7 +2,7 @@ namespace Illuminate\Auth; -use Illuminate\Contracts\Auth\Authenticatable; +use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract; /** * These methods are typically the same across all guards. @@ -61,7 +61,7 @@ public function id() * @param \Illuminate\Contracts\Auth\Authenticatable $user * @return void */ - public function setUser(Authenticatable $user) + public function setUser(AuthenticatableContract $user) { $this->user = $user; }