Skip to content

Commit a51974c

Browse files
committed
Replace annotation to attribute in form unit testing comment
1 parent 2685f38 commit a51974c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

form/unit_testing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ allows you to return a list of extensions to register::
214214
{
215215
$validator = Validation::createValidator();
216216

217-
// or if you also need to read constraints from annotations
217+
// or if you also need to read constraints from attributes
218218
$validator = Validation::createValidatorBuilder()
219219
->enableAttributeMapping()
220220
->getValidator();

0 commit comments

Comments
 (0)