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