Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class CheckSettingsPanel |
||
9 | { |
||
10 | /** |
||
11 | * Check if the user can access to the settings panel or redirect to 403 page. |
||
12 | * |
||
13 | * @param \Illuminate\Http\Request $request |
||
14 | * @param \Closure $next |
||
15 | * @return mixed |
||
16 | * @throws \Symfony\Component\HttpKernel\Exception\HttpException |
||
17 | */ |
||
18 | public function handle($request, Closure $next) |
||
31 |