Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 35ace95

Browse files
committed
Merge pull request #122 from carnage/carnage-patch-1
Fix for fatal error
2 parents 53a9e78 + 140b11d commit 35ace95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Service/FormAnnotationBuilderFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public function __invoke(ContainerInterface $container, $name, array $options =
3131
{
3232
//setup a form factory which can use custom form elements
3333
$annotationBuilder = new AnnotationBuilder();
34-
$eventManager = $container->build('EventManager');
35-
$annotationBuilder->setEventManager($ventManager);
34+
$eventManager = $container->get('EventManager');
35+
$annotationBuilder->setEventManager($eventManager);
3636

3737
$formElementManager = $container->get('FormElementManager');
3838
$formElementManager->injectFactory($container, $annotationBuilder);

0 commit comments

Comments
 (0)