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