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

♻️ float no more #997

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

♻️ float no more #997

wants to merge 1 commit into from

Conversation

willpower232
Copy link
Contributor

phpstan was annoyed about using a float in the substr, past you had cast it to int at the end, I thought it was slightly less messy to cast the result of ceil as that is where the float is introduced for some reason known only to the developers of PHP.

Co-authored-by: erikn69 <erikn_69@hotmail.com>
@willpower232 willpower232 requested a review from erikn69 January 18, 2025 17:06
@willpower232 willpower232 self-assigned this Jan 18, 2025
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