1 | <?php declare(strict_types=1); |
||
10 | final class Client implements ClientInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var LoopInterface |
||
14 | */ |
||
15 | private $loop; |
||
16 | |||
17 | /** |
||
18 | * @var AsyncClient |
||
19 | */ |
||
20 | private $client; |
||
21 | |||
22 | 1 | public function __construct(AuthenticationInterface $auth) |
|
27 | |||
28 | public function user(string $user): UserInterface |
||
35 | |||
36 | 1 | public function getRateLimitState(): RateLimitState |
|
40 | } |
||
41 |
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..