Skip to content

ext/date: Change return type to static - #23317

Open
arshidkv12 wants to merge 2 commits into
php:masterfrom
arshidkv12:date-static
Open

ext/date: Change return type to static#23317
arshidkv12 wants to merge 2 commits into
php:masterfrom
arshidkv12:date-static

Conversation

@arshidkv12

@arshidkv12 arshidkv12 commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Use static return types for DateTime and related methods that preserve the called class.

ext/date: Fix DateTime return types for subclasses
@arshidkv12 arshidkv12 changed the title ext/date: Fix DateTime return types for subclasses ext/date: Change return type to static Aug 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant