Total Complexity | 1 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class NoCacheHeaders |
||
8 | { |
||
9 | /** |
||
10 | * Add cache related HTTP headers. |
||
11 | * |
||
12 | * @param \Illuminate\Http\Request $request |
||
13 | * @param \Closure $next |
||
14 | * @param string|array $options |
||
15 | * @return \Symfony\Component\HttpFoundation\Response |
||
16 | * |
||
17 | * @throws \InvalidArgumentException |
||
18 | */ |
||
19 | public function handle($request, Closure $next, $options = []) |
||
31 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.