1 | <?php declare(strict_types=1); |
||
14 | final class HooksHandler |
||
15 | { |
||
16 | /** |
||
17 | * @var FetchAndIterateService |
||
18 | */ |
||
19 | private $fetchAndIterateService; |
||
20 | |||
21 | /** |
||
22 | * @param FetchAndIterateService $fetchAndIterateService |
||
23 | */ |
||
24 | 1 | public function __construct(FetchAndIterateService $fetchAndIterateService) |
|
28 | |||
29 | /** |
||
30 | * Fetch the given repository and hydrate it |
||
31 | * |
||
32 | * @param HooksCommand $command |
||
33 | * @return PromiseInterface |
||
34 | */ |
||
35 | 1 | public function handle(HooksCommand $command): PromiseInterface |
|
39 | } |
||
40 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.