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

Stricter DateTime types #6161

Merged
merged 1 commit into from
Sep 22, 2023

Conversation

derrabus
Copy link
Member

Q A
Type improvement
Fixed issues Follows #6017 by @phansys

Summary

The following types don't accept or return DateTimeImmutable instances anymore:

  • DateTimeType
  • DateTimeTzType
  • DateType
  • TimeType
  • VarDateTimeType

As a consequence, the following type classes don't extend their mutable
counterparts anymore:

  • DateTimeImmutableType
  • DateTimeTzImmutableType
  • DateImmutableType
  • TimeImmutableType
  • VarDateTimeImmutableType

@derrabus derrabus merged commit c031ad0 into doctrine:4.0.x Sep 22, 2023
68 checks passed
@derrabus derrabus deleted the improvement/stricter-datetime branch September 22, 2023 11:49
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants