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 | * @SuppressWarnings(PHPMD.StaticAccess) |
||
23 | */ |
||
24 | public function find() |
||
39 | |||
40 | /** |
||
41 | * Get the coordinates. |
||
42 | * |
||
43 | * @return double[] |
||
44 | */ |
||
45 | public function getCoordinates() |
||
49 | } |
||
50 |
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..