1 | <?php |
||
9 | class Telegram extends BaseSender |
||
10 | { |
||
11 | /** @var \Telegram\Bot\Api */ |
||
12 | protected $api; |
||
13 | |||
14 | /** @var array */ |
||
15 | protected $config; |
||
16 | |||
17 | /** @var string */ |
||
18 | protected $chat_id; |
||
19 | |||
20 | /** |
||
21 | * @param \Telegram\Bot\Api $api |
||
22 | * @param Repository $config |
||
23 | */ |
||
24 | public function __construct(Api $api, Repository $config) |
||
33 | |||
34 | public function send() |
||
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..