Deprecation warning of implicit conversion from float to int
Opened this issue · 0 comments
Lexx666 commented
geotools/src/Coordinate/Coordinate.php
Line 95 in 4a26679
This causes deprecation warning on php8.1:
: Implicit conversion from float 8.526383399963379 to int loses precision in
[...]/vendor/laravie/geotools/src/Coordinate/Coordinate.php
on line
95
if (180 === (int) $longitude % 360) {
would fix this.