mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-20 14:36:57 +00:00
8a36022dde
This PR was squashed before being merged into the 1.16-dev branch (closes #1533).
Discussion
----------
Make date_modify work with DateTimeImmutable
Use the return value of `$date->modify` because `DateTimeImmutable::modify`
returns the modified object and does not modify the object modify was
called on.
Commits
-------
a5fe46f Make date_modify work with DateTimeImmutable