Skip to content

Commit fffdbaa

Browse files
committed
Merge branch '3.4' into 4.4
* 3.4: Update framework.rst Update validator.rst
2 parents 197ade3 + f85fcad commit fffdbaa

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

components/validator.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ If you have lots of validation errors, you can filter them by error code::
6565
Retrieving a Validator Instance
6666
-------------------------------
6767

68-
The :class:`Symfony\\Component\\Validator\\Validator` class is the main access
69-
point of the Validator component. To create a new instance of this class, it's
68+
The Validator object (that implements :class:`Symfony\\Component\\Validator\\Validator\\ValidatorInterface`) is the main access
69+
point of the Validator component. To create a new instance of it, it's
7070
recommended to use the :class:`Symfony\\Component\\Validator\\Validation` class::
7171

7272
use Symfony\Component\Validator\Validation;
@@ -75,7 +75,7 @@ recommended to use the :class:`Symfony\\Component\\Validator\\Validation` class:
7575

7676
This ``$validator`` object can validate simple variables such as strings, numbers
7777
and arrays, but it can't validate objects. To do so, configure the
78-
``Validator`` class as explained in the next sections.
78+
``Validator`` as explained in the next sections.
7979

8080
Learn More
8181
----------

reference/configuration/framework.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2336,10 +2336,10 @@ If this option is enabled, validation constraints can be defined using annotatio
23362336
translation_domain
23372337
..................
23382338

2339-
**type**: ``string`` **default**: ``validators``
2339+
**type**: ``string | false`` **default**: ``validators``
23402340

23412341
The translation domain that is used when translating validation constraint
2342-
error messages.
2342+
error messages. Use false to disable translations.
23432343

23442344
.. _reference-validation-not-compromised-password:
23452345

0 commit comments

Comments
 (0)