Total Complexity | 4 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class LanguageDetector |
||
10 | { |
||
11 | protected $app; |
||
12 | |||
13 | public function __construct(Application $app) |
||
14 | { |
||
15 | $this->app = $app; |
||
16 | } |
||
17 | |||
18 | /** |
||
19 | * Handle an incoming request. |
||
20 | * |
||
21 | * @param \Illuminate\Http\Request $request |
||
22 | * @param \Closure $next |
||
23 | * @return mixed |
||
24 | */ |
||
25 | public function handle($request, Closure $next) |
||
39 | } |
||
40 | } |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.