diff --git a/src/ConfigProvider.php b/src/ConfigProvider.php index 0a9fbad34..352e25536 100644 --- a/src/ConfigProvider.php +++ b/src/ConfigProvider.php @@ -34,14 +34,14 @@ public function getDependencyConfig(): array FormAbstractServiceFactory::class, ], 'aliases' => [ - 'FormAnnotationBuilder' => Annotation\AnnotationBuilder::class, - 'FormAttributeBuilder' => Annotation\AttributeBuilder::class, - 'FormElementManager' => FormElementManager::class, + Annotation\AnnotationBuilder::class => 'FormAnnotationBuilder', + Annotation\AttributeBuilder::class => 'FormAttributeBuilder', + FormElementManager::class => 'FormElementManager', ], 'factories' => [ - Annotation\AnnotationBuilder::class => Annotation\BuilderAbstractFactory::class, - Annotation\AttributeBuilder::class => Annotation\BuilderAbstractFactory::class, - FormElementManager::class => FormElementManagerFactory::class, + 'FormAnnotationBuilder' => Annotation\BuilderAbstractFactory::class, + 'FormAttributeBuilder' => Annotation\BuilderAbstractFactory::class, + 'FormElementManager' => FormElementManagerFactory::class, ], ]; }