Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes issues with abs() requiring int|float since PHP8 #61

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dsaric-dev
Copy link
Contributor

Hi,

abs() requires int|float since PHP 8.0.0, which causes issues in some cases (when an empty string is sent instead).
This PR replaces all abs() with abs( (int) ) or abs( (float) ).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant