You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I try to do the update I have this error
my solution is to change
line 232 if (count($intersectionResult['intersectedZones']) === 1 && $intersectionResult['foundExactMatch']) {
in file geo-timezone/src/GeoTimeZone/Quadrant/Indexer.php
with this
line if (!(is_array ($intersectionResult['intersectedZones'])) && $intersectionResult['foundExactMatch']) {
because in line 92 $intersectedZones = $zoneIdx; in the same file
the $intersectedZones change from array to int
in a previous version of the library, the code was different and didn't have this problem
The text was updated successfully, but these errors were encountered:
geertijewski
pushed a commit
to geertijewski/geo-timezone
that referenced
this issue
Apr 22, 2020
when I try to do the update I have this error
my solution is to change
line 232
if (count($intersectionResult['intersectedZones']) === 1 && $intersectionResult['foundExactMatch']) {
in file
geo-timezone/src/GeoTimeZone/Quadrant/Indexer.php
with this
line
if (!(is_array ($intersectionResult['intersectedZones'])) && $intersectionResult['foundExactMatch']) {
because in line 92
$intersectedZones = $zoneIdx;
in the same filethe $intersectedZones change from array to int
in a previous version of the library, the code was different and didn't have this problem
The text was updated successfully, but these errors were encountered: