Fixed up the middleware

This commit is contained in:
Graham Campbell
2015-06-10 14:03:31 +01:00
parent 7b61ad0445
commit 9315de8a4c
6 changed files with 21 additions and 44 deletions

View File

@@ -18,16 +18,18 @@ use Illuminate\Http\RedirectResponse;
class RedirectIfAuthenticated
{
/**
* The Guard implementation.
* The authentication guard instance.
*
* @var Guard
* @var \Illuminate\Contracts\Auth\Guard
*/
protected $auth;
/**
* Create a new filter instance.
* Create a new redirect if authenticated middleware instance.
*
* @param Guard $auth
* @param \Illuminate\Contracts\Auth\Guard $auth
*
* @return void
*/
public function __construct(Guard $auth)
{