Skip to content

Commit

Permalink
SessionHelpers needs to alias the Authenticatable interface
Browse files Browse the repository at this point in the history
Same goes for this one.
  • Loading branch information
Francismori7 committed Dec 17, 2015
1 parent 37f0568 commit 05cd62c
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 @@ -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.
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 05cd62c

Please sign in to comment.