Skip to content

Commit 9b6fbd9

Browse files
committed
minor #6085 Update validation.rst (syedi)
This PR was submitted for the 3.0 branch but it was merged into the 2.3 branch instead (closes #6085). Discussion ---------- Update validation.rst at line 647 put 'IsTrue' instead of 'True' Commits ------- e9cfc09 Update validation.rst
2 parents 0be81f4 + e9cfc09 commit 9b6fbd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/validation.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ this method must return ``true``:
639639
AppBundle\Entity\Author:
640640
getters:
641641
passwordLegal:
642-
- 'True': { message: 'The password cannot match your first name' }
642+
- 'IsTrue': { message: 'The password cannot match your first name' }
643643
644644
.. code-block:: xml
645645

0 commit comments

Comments
 (0)