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

Use of DateTimeInterface instead of DateTime #29

Merged
merged 1 commit into from
Feb 22, 2021

Conversation

Spomky
Copy link
Contributor

@Spomky Spomky commented Feb 21, 2021

With this PR, the DateTimeInterface is used instead of DateTime as return type or argument.
This will allow to use DateTimeImmutable or the DateTime objects from PHP Safe library.

@scheb scheb merged commit f423508 into scheb:4.x Feb 22, 2021
@scheb
Copy link
Owner

scheb commented Feb 22, 2021

Seems legit, sure. Thanks!

@Spomky Spomky deleted the DateTimeInterface branch February 22, 2021 23:48
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.

None yet

2 participants