| 1 | <?php declare(strict_types=1); |
||
| 15 | final class CachesHandler |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var FetchAndHydrateService |
||
| 19 | */ |
||
| 20 | private $service; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param FetchAndIterateService $service |
||
| 24 | */ |
||
| 25 | 1 | public function __construct(FetchAndIterateService $service) |
|
| 29 | |||
| 30 | /** |
||
| 31 | * Fetch the given repository and hydrate it |
||
| 32 | * |
||
| 33 | * @param CachesCommand $command |
||
| 34 | * @return PromiseInterface |
||
| 35 | */ |
||
| 36 | 1 | public function handle(CachesCommand $command): PromiseInterface |
|
| 44 | } |
||
| 45 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..