1 | <?php |
||
10 | class Location extends BaseExample |
||
11 | { |
||
12 | /** |
||
13 | * @var double[] |
||
14 | */ |
||
15 | protected $coordinates; |
||
16 | |||
17 | /** |
||
18 | * @throws \Http\Client\Exception |
||
19 | * |
||
20 | * @return $this |
||
21 | */ |
||
22 | public function find() |
||
37 | |||
38 | /** |
||
39 | * Get the coordinates. |
||
40 | * |
||
41 | * @return double[] |
||
42 | */ |
||
43 | public function getCoordinates() |
||
47 | } |
||
48 |
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..