We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7ade79 commit 7c39d38Copy full SHA for 7c39d38
book/forms.rst
@@ -439,7 +439,7 @@ You can also define whole logic inline by using a Closure::
439
'validation_groups' => function(FormInterface $form) {
440
$data = $form->getData();
441
if (Entity\Client::TYPE_PERSON == $data->getType()) {
442
- return array('person')
+ return array('person');
443
} else {
444
return array('company');
445
}
0 commit comments