| 1 | <?php  | 
            ||
| 8 | class AddCustomProvider  | 
            ||
| 9 | { | 
            ||
| 10 | /**  | 
            ||
| 11 | * The default provder of api guard.  | 
            ||
| 12 | *  | 
            ||
| 13 | * @var string  | 
            ||
| 14 | */  | 
            ||
| 15 | protected $defaultApiProvider;  | 
            ||
| 16 | |||
| 17 | /**  | 
            ||
| 18 | * Handle an incoming request. Set the `provider` from `api` guard using a  | 
            ||
| 19 | * parameter `provider` coming from request. The provider on `apì` guard  | 
            ||
| 20 | * is used by Laravel Passport to get the correct model on access token  | 
            ||
| 21 | * creation.  | 
            ||
| 22 | *  | 
            ||
| 23 | * @param \Illuminate\Http\Request $request  | 
            ||
| 24 | * @param \Closure $next  | 
            ||
| 25 | * @return mixed  | 
            ||
| 26 | */  | 
            ||
| 27 | 1 | public function handle(Request $request, Closure $next)  | 
            |
| 40 | |||
| 41 | public function terminate($request, $response)  | 
            ||
| 46 | }  | 
            ||
| 47 | 
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.