Skip to content

Commit 161a97b

Browse files
committed
Update trans function reference to add Translatable type
1 parent 92e8e2a commit 161a97b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/twig_reference.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ trans
349349
{{ message|trans(arguments = [], domain = null, locale = null) }}
350350
351351
``message``
352-
**type**: ``string``
352+
**type**: ``string`` | ``Translatable``
353353
``arguments`` *(optional)*
354354
**type**: ``array`` **default**: ``[]``
355355
``domain`` *(optional)*

0 commit comments

Comments
 (0)