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