Skip to content

Parse/Date: Fix types and clean up#790

Merged
mblaney merged 1 commit intosimplepie:masterfrom
jtojnar:date-types
Mar 19, 2023
Merged

Parse/Date: Fix types and clean up#790
mblaney merged 1 commit intosimplepie:masterfrom
jtojnar:date-types

Conversation

@jtojnar
Copy link
Member

@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.

3 participants