Total Complexity | 3 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class TerminateMiddleware |
||
10 | { |
||
11 | |||
12 | /** |
||
13 | * @param Request $request |
||
14 | * @param Closure $next |
||
15 | * @return mixed |
||
16 | */ |
||
17 | public function handle(Request $request, Closure $next) |
||
28 | } |
||
29 | |||
30 | /** |
||
31 | * @param $request |
||
32 | * @param $response |
||
33 | */ |
||
34 | public function terminate($request, $response): void |
||
44 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.