diff --git a/book/validation.rst b/book/validation.rst index 74e0c97bfaf..755e2f54367 100644 --- a/book/validation.rst +++ b/book/validation.rst @@ -644,7 +644,7 @@ this method must return ``true``: AppBundle\Entity\Author: getters: passwordLegal: - - 'True': { message: 'The password cannot match your first name' } + - 'IsTrue': { message: 'The password cannot match your first name' } .. code-block:: xml