Skip to content

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 force-pushed the improvement/stricter-datetime branch from 16e4b01 to 95b6e7b Compare September 22, 2023 11:09
@derrabus derrabus merged commit c031ad0 into doctrine:4.0.x Sep 22, 2023
@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