diff --git a/reference/constraints/Charset.rst b/reference/constraints/Charset.rst index 5dfa7037c6b..66bdb4c99c4 100644 --- a/reference/constraints/Charset.rst +++ b/reference/constraints/Charset.rst @@ -5,7 +5,8 @@ Charset The ``Charset`` constraint was introduced in Symfony 7.1. -Validates that a string is encoded in a given charset. +Validates that a string (or an object implementing the ``Stringable`` PHP interface) +is encoded in a given charset. ========== ===================================================================== Applies to :ref:`property or method `