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