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

Parse/Date: Fix types and clean up #790

Merged
merged 1 commit into from
Mar 19, 2023
Merged

Conversation

jtojnar
Copy link
Contributor

@jtojnar jtojnar commented Feb 18, 2023

The matches are strings making PHPStan level 2 complain we were doing arithmetic operations on them.

While at it, let’s use auxiliary variables up front to make the code a bit cleaner.

The matches are strings making PHPStan level 2 complain we were doing arithmetic operations on them.

While at it, let’s use auxiliary variables up front to make the code a bit cleaner.
@mblaney mblaney merged commit 2904878 into simplepie:master Mar 19, 2023
@jtojnar jtojnar deleted the date-types branch March 19, 2023 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants