there was error caused by implicit conversion from float to int in php 8.1
the easiest fix will be to explicitly cast the value to int as what it has been doing.
the issue is just, pre PHP 8.1 it will not complain when it's doing this, but since php 8.1 it will start throwing deprecation error.
there was error caused by implicit conversion from float to int in php 8.1 the easiest fix will be to explicitly cast the value to int as what it has been doing. the issue is just, pre PHP 8.1 it will not complain when it's doing this, but since php 8.1 it will start throwing deprecation error.