Skip to content

Bug 65672 - #451

Closed
bor0 wants to merge 2 commits into
php:masterfrom
bor0:bug65672
Closed

bor0 wants to merge 2 commits into
php:masterfrom
bor0:bug65672

Conversation

@bor0

@bor0 bor0 commented Sep 14, 2013

Copy link
Copy Markdown
Contributor

https://bugs.php.net/bug.php?id=65672

Removed function overload for write for DatePeriod.

Removed function overload for write for DatePeriod.
@smalyshev

Copy link
Copy Markdown
Contributor

I don't think it is a good idea. The standard properties should still be protected. If we need to expand it then we should check against the list of standard properties, for example.

@bor0

bor0 commented Apr 14, 2014

Copy link
Copy Markdown
Contributor Author

What standard properties did you have in mind? As far as I can see, this class only has EXCLUDE_START_DATE as a property. Did you mean about that one only?

@smalyshev

Copy link
Copy Markdown
Contributor

As far as I can see from date_object_get_properties_period, there are at least 6 properties it supports.

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