1 | <?php declare(strict_types=1); |
||
10 | final class UserHandler |
||
11 | { |
||
12 | /** |
||
13 | * @var FetchAndHydrateService |
||
14 | */ |
||
15 | private $service; |
||
16 | |||
17 | /** |
||
18 | * @param FetchAndHydrateService $service |
||
19 | */ |
||
20 | 1 | public function __construct(FetchAndHydrateService $service) |
|
24 | |||
25 | /** |
||
26 | * Fetch the given repository and hydrate it. |
||
27 | * |
||
28 | * @param UserCommand $command |
||
29 | * @return PromiseInterface |
||
30 | */ |
||
31 | 1 | public function handle(UserCommand $command): PromiseInterface |
|
35 | } |
||
36 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.