Problem/Motivation
Starting with v6.0, symfony/serialize components were added typed return (see this pull request : https://github.com/symfony/serializer/commit/7d2f07bffadfae9bef59471515f...).
Module's component GeoJsonEncoder which extends JsonEncoder does not type its method's return, which leads to fatal error when implementing or using in any way geolocation plugins.
Attached patch fixes said fatal error by applying parent class typed returns to GeoJsonEncoder.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | geojsonencoder_typed_returns.patch | 809 bytes | jmaxant |
Issue fork geolocation_provider-3388465
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
jmaxant commentedComment #3
UVic commentedPatch on comment #2 works fine for me. Thanks!
Comment #7
martygraphie commentedThanks, the fix is available in 1.0.3.
Comment #8
martygraphie commented