mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 13:51:54 +01:00
9ac3e88c70
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