1 | <?php declare(strict_types=1); |
||
13 | final class BuildsHandler |
||
14 | { |
||
15 | /** |
||
16 | * @var FetchAndHydrateService |
||
17 | */ |
||
18 | private $service; |
||
19 | |||
20 | /** |
||
21 | * @param FetchAndIterateService $service |
||
22 | */ |
||
23 | public function __construct(FetchAndIterateService $service) |
||
27 | |||
28 | /** |
||
29 | * Fetch the given repository and hydrate it |
||
30 | * |
||
31 | * @param BuildsCommand $command |
||
32 | * @return PromiseInterface |
||
33 | */ |
||
34 | public function handle(BuildsCommand $command): PromiseInterface |
||
42 | } |
||
43 |
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..