Rename a few things.
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
<?php namespace App\Http\Middleware;
|
||||
|
||||
use Closure;
|
||||
use Illuminate\Contracts\Auth\Authenticator;
|
||||
use Illuminate\Contracts\Auth\Guard;
|
||||
use Illuminate\Contracts\Routing\Middleware;
|
||||
use Illuminate\Contracts\Routing\ResponseFactory;
|
||||
|
||||
class AuthMiddleware implements Middleware {
|
||||
|
||||
/**
|
||||
* The authenticator implementation.
|
||||
* The Guard implementation.
|
||||
*
|
||||
* @var Authenticator
|
||||
* @var Guard
|
||||
*/
|
||||
protected $auth;
|
||||
|
||||
@@ -24,11 +24,11 @@ class AuthMiddleware implements Middleware {
|
||||
/**
|
||||
* Create a new filter instance.
|
||||
*
|
||||
* @param Authenticator $auth
|
||||
* @param Guard $auth
|
||||
* @param ResponseFactory $response
|
||||
* @return void
|
||||
*/
|
||||
public function __construct(Authenticator $auth,
|
||||
public function __construct(Guard $auth,
|
||||
ResponseFactory $response)
|
||||
{
|
||||
$this->auth = $auth;
|
||||
|
||||
Reference in New Issue
Block a user