| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 21 | class Scope |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * Handle an incoming request. |
||
| 25 | * |
||
| 26 | * @param \Illuminate\Http\Request $request The app http request. |
||
| 27 | * @param \Closure $next The next closure. |
||
| 28 | * @param array ...$scopes The requested guards. |
||
| 29 | * |
||
| 30 | * @throws \Exception Throw the exception. |
||
| 31 | * |
||
| 32 | * @return mixed |
||
| 33 | */ |
||
| 34 | public function handle(Request $request, Closure $next, ...$scopes) |
||
| 45 |