We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 16af933 + 79ec4de commit 5ba0408Copy full SHA for 5ba0408
Form/FormManager.php
@@ -51,7 +51,7 @@ public function createForm(FormProviderInterface $formProvider)
51
$form = $this->formFactory->create(DynamicFormType::class);
52
53
$event = new FormEvent($form);
54
- $this->dispatcher->dispatch(Events::FORM_CREATE, $event);
+ $this->dispatcher->dispatch($event, Events::FORM_CREATE);
55
56
return $form;
57
}
0 commit comments