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