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