1 | <?php |
||
5 | class InfobipConfig |
||
6 | { |
||
7 | /** |
||
8 | * @var InfobipConfig |
||
9 | */ |
||
10 | public $config; |
||
11 | |||
12 | /** |
||
13 | * InfobipConfig constructor. |
||
14 | * |
||
15 | * @param array $config |
||
16 | */ |
||
17 | public function __construct(array $config) |
||
21 | |||
22 | /** |
||
23 | * @return mixed |
||
24 | */ |
||
25 | public function getFrom() |
||
29 | |||
30 | /** |
||
31 | * @return mixed |
||
32 | */ |
||
33 | public function getNotifyUrl() |
||
37 | } |
||
38 |
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..