Closed distantnative closed 1 year ago
Receiving this error with 4.0.0
Implicit conversion from float 684.8547008547008 to int loses precision
pointing to https://github.com/claviska/SimpleImage/blob/master/src/claviska/SimpleImage.php#L986
My hunch would be that https://github.com/claviska/SimpleImage/blob/master/src/claviska/SimpleImage.php#L975 also should be wrapped in (int) round (), same as already done in https://github.com/claviska/SimpleImage/blob/master/src/claviska/SimpleImage.php#L970
(int) round ()
Fixed in #318
@claviska thank you! unfortunately the 4.0.1 tag seems to not include the fix
Sorry about that. I goofed and created the tag prematurely. 4.0.2 fixes that!
Receiving this error with 4.0.0
pointing to https://github.com/claviska/SimpleImage/blob/master/src/claviska/SimpleImage.php#L986
My hunch would be that https://github.com/claviska/SimpleImage/blob/master/src/claviska/SimpleImage.php#L975 also should be wrapped in
(int) round ()
, same as already done in https://github.com/claviska/SimpleImage/blob/master/src/claviska/SimpleImage.php#L970