Skip to content

Commit f9cf5f6

Browse files
committed
Remove unused code in the last code sample
1 parent ddf358e commit f9cf5f6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cookbook/form/dynamic_form_modification.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,6 @@ your form::
613613
public function buildForm(FormBuilderInterface $builder, array $options)
614614
{
615615
// ...
616-
$subscriber = new AddNameFieldSubscriber($builder->getFormFactory());
617616
$builder->addEventSubscriber($this->registrationSportListener);
618617
}
619618

0 commit comments

Comments
 (0)