Skip to content

[12.x] Fix type hints for DateTimeZone and DateTimeInterface on DateFactory#55243

Merged
taylorotwell merged 1 commit into
laravel:12.xfrom
AndrewMast:docs/date-factory
Apr 1, 2025
Merged

[12.x] Fix type hints for DateTimeZone and DateTimeInterface on DateFactory#55243
taylorotwell merged 1 commit into
laravel:12.xfrom
AndrewMast:docs/date-factory

Conversation

@AndrewMast

Copy link
Copy Markdown
Contributor

Follow up to #55235 since its changes were reverted by a github action. DateTimeInterface and DateTimeZone are incorrectly namespaced in the Date facade. Since the facade pulls the docblocks from DateFactory, I updated to file to use \DateTimeInterface and \DateTimeZone.

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.

2 participants