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

Commit 682382b

Browse files
committed
Rename prepareAndInjectFactory to injectFactory
1 parent 7c84e01 commit 682382b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Service/FormAnnotationBuilderFactory.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function __invoke(ContainerInterface $container, $name, array $options =
3838

3939
$formElementManager = $container->get('FormElementManager');
4040

41-
$this->prepareAndInjectFactory($formElementManager, $container, $annotationBuilder);
41+
$this->injectFactory($formElementManager, $container, $annotationBuilder);
4242

4343
$config = $container->get('config');
4444
if (isset($config['form_annotation_builder'])) {
@@ -82,13 +82,15 @@ public function createService(ServiceLocatorInterface $container)
8282
}
8383

8484
/**
85+
* Handle zend-servicemanager dependent InitializerInterface signature
86+
*
8587
* @param FormElementManagerV2Polyfill|FormElementManagerV3Polyfill $formElementManager
8688
* @param ContainerInterface $container
8789
* @param AnnotationBuilder $annotationBuilder
8890
*
8991
* @return void
9092
*/
91-
private function prepareAndInjectFactory(
93+
private function injectFactory(
9294
$formElementManager,
9395
ContainerInterface $container,
9496
AnnotationBuilder $annotationBuilder

0 commit comments

Comments
 (0)