Closed VincentLanglet closed 1 month ago
convertDate
So the phpdoc should not be \DateTimeInterface|string|null but \DateTimeInterface|string|int|null
\DateTimeInterface|string|null
\DateTimeInterface|string|int|null
And all the date methods using convertDate should also accepts int and null.
This is important since some tools are developing static analysis on twig.
Thank you @VincentLanglet.
convertDate
So the phpdoc should not be
\DateTimeInterface|string|null
but\DateTimeInterface|string|int|null
And all the date methods using
convertDate
should also accepts int and null.This is important since some tools are developing static analysis on twig.