| 1 | <?php |
||
| 9 | class MappableDataObjectSet extends Extension |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * Optional template values for the map info windows. |
||
| 13 | */ |
||
| 14 | private $MarkerTemplateValues = null; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Pass through values to the markers so that when rendering the map info windows, these |
||
| 18 | * parameters are available to the template. This is of course optional. |
||
| 19 | * |
||
| 20 | * @param array $values hash array of template key to template value |
||
| 21 | */ |
||
| 22 | 1 | public function setMarkerTemplateValues($values) |
|
| 26 | |||
| 27 | 3 | public function getRenderableMap($width = null, $height = null) |
|
| 36 | } |
||
| 37 |
It seems like the type of the argument is not accepted by the function/method which you are calling.
In some cases, in particular if PHP’s automatic type-juggling kicks in this might be fine. In other cases, however this might be a bug.
We suggest to add an explicit type cast like in the following example: