Skip to content

Commit 1b0e32b

Browse files
committed
applies WouterJ suggestion
1 parent 700747d commit 1b0e32b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

book/validation.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,9 @@ Next, to actually validate an ``Author`` object, use the ``validate`` method
113113
on the ``validator`` service (class :class:`Symfony\\Component\\Validator\\Validator`).
114114
The job of the ``validator`` is easy: to read the constraints (i.e. rules)
115115
of a class and verify whether or not the data on the object satisfies those
116-
constraints. If validation fails, a non-empty list
117-
(class :class:`Symfony\\Component\\Validator\\ConstraintViolationList`) of errors
118-
is returned. Take this simple example from inside a controller::
116+
constraints. If validation fails, a non-empty list of errors
117+
(class :class:`Symfony\\Component\\Validator\\ConstraintViolationList`) is
118+
returned. Take this simple example from inside a controller:
119119

120120
// ...
121121
use Symfony\Component\HttpFoundation\Response;

0 commit comments

Comments
 (0)