mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-10 09:26:29 +00:00
Correct return type of twig_date_converter
This commit is contained in:
committed by
Fabien Potencier
parent
3853841c9f
commit
e927e859ea
@@ -459,7 +459,7 @@ function twig_date_modify_filter(Environment $env, $date, $modifier)
|
||||
* @param \DateTime|\DateTimeInterface|string|null $date A date
|
||||
* @param \DateTimeZone|string|false|null $timezone The target timezone, null to use the default, false to leave unchanged
|
||||
*
|
||||
* @return \DateTime
|
||||
* @return \DateTimeInterface
|
||||
*/
|
||||
function twig_date_converter(Environment $env, $date = null, $timezone = null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user