Total Complexity | 3 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class HealthController extends Controller |
||
14 | { |
||
15 | |||
16 | /** |
||
17 | * |
||
18 | * @var HealthService |
||
19 | */ |
||
20 | private $healthService; |
||
21 | |||
22 | /** |
||
23 | * |
||
24 | * @param HealthService $healthService |
||
25 | */ |
||
26 | public function __construct(HealthService $healthService) |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * |
||
33 | * @param Request $request |
||
34 | * @return \Illuminate\Http\JsonResponse |
||
35 | */ |
||
36 | public function check(Request $request) |
||
48 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.