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
Deprecated function: Implicit conversion from float 222886.09677419355 to int loses precision in NextApps\UniqueCodes\UniqueCodes->encodeNumber() (line 227 of…/vendor/nextapps/unique-codes/src/UniqueCodes.php).
Code in UniqueCodes:227 generates a float value. This will be cast to interger for using as array key.
Steps To Reproduce:
Just generate a code into a PHP 8.1 environment.
Hotfix
Cast $digit into a integer on line UniqueCodes:229
@alexander-bogomolov Thanks for the very clear issue report! We have a PR(#7) open at the moment that will fix this and will be merging and tagging a new version soon.
Description:
Code in UniqueCodes:227 generates a float value. This will be cast to interger for using as array key.
Steps To Reproduce:
Just generate a code into a PHP 8.1 environment.
Hotfix
Cast $digit into a integer on line UniqueCodes:229
The text was updated successfully, but these errors were encountered: