-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Check dates against DateTimeInterface
instead of DateTime
#2239
Conversation
dfa1f8b
to
0db1e61
Compare
DateTimeInterface
instead of DateTime
in the Query BuilderDateTimeInterface
instead of DateTime
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs work
0db1e61
to
dc32644
Compare
Codecov Report
@@ Coverage Diff @@
## master #2239 +/- ##
============================================
+ Coverage 86.82% 86.88% +0.06%
Complexity 664 664
============================================
Files 33 33
Lines 1556 1556
============================================
+ Hits 1351 1352 +1
+ Misses 205 204 -1
Continue to review full report at Codecov.
|
Shall I address the StyleCI issues in a separate commit? |
Hello, No, we'll take care of it later. Thanks! |
Thank you for your contribution @jeromegamez ! |
🚀 Thank you both for accepting it! 🤗 |
Check dates against `DateTimeInterface` instead of `DateTime`
Greeting! 👋
I noticed that
where()
queries in which I usedDateTimeImmutable
objects returned empty results.This change would allow the usage of
DateTimeImmutable
orCarbonImmutable
in addition toDateTime
/Carbon
🤞