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

Unmark DateInterval::$invert as read-only #9895

Merged
merged 1 commit into from
Jun 12, 2023
Merged

Unmark DateInterval::$invert as read-only #9895

merged 1 commit into from
Jun 12, 2023

Commits on Jun 11, 2023

  1. Unmark DateInterval::$invert as read-only

    Despite the PHP documentation recommending that DateInterval properties
    should be considered as read-only, there is no way to specify an
    inverted interval via the constructor. Therefore, setting this property
    on an existing object should not be considered an error.
    
    See: https://www.php.net/manual/en/class.dateinterval.php
    morozov committed Jun 11, 2023
    Configuration menu
    Copy the full SHA
    9ac3e88 View commit details
    Browse the repository at this point in the history