1 | <?php declare(strict_types=1); |
||
12 | final class Client |
||
13 | { |
||
14 | /** |
||
15 | * @var LoopInterface |
||
16 | */ |
||
17 | private $loop; |
||
18 | |||
19 | /** |
||
20 | * @var AsyncClient |
||
21 | */ |
||
22 | private $client; |
||
23 | |||
24 | public function __construct(string $token) |
||
29 | |||
30 | public function astronomy(string $location): AstronomyInterface |
||
37 | |||
38 | public function conditions(string $location): ConditionInterface |
||
45 | } |
||
46 |
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..