Closed (fixed)
Project:
Geocoder
Version:
8.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Jan 2017 at 23:26 UTC
Updated:
1 Jan 2018 at 11:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
Gravypower commentedAdded in patch that changes the type to float so I can patch this module in my build.
Comment #3
Gravypower commentedSo this may only be an issue with PHP 7, looking into this more now.
Comment #4
Gravypower commentedSo this was an issue when using PHP 7
Comment #5
yoran scholiers commentedHad the same issue when trying to implement the Reverse method.
Also using PHP7. The patch above allows me to continue.
Comment #6
ahebrank commentedIt may be better to remove the type hints entirely since the underlying dependency doesn't have them: https://github.com/geocoder-php/Geocoder/blob/master/src/Geocoder.php#L42
Comment #7
itamair commentedThis patch seems to be essential to implement reverse geocoding in PHP 7,
thus (IMHO) should be committed ASAP and a new version of Geocoder released with it
Comment #9
polThanks, it's fixed.