Skip to content

Commit

Permalink
[Form] Fixes debug:form appears many times as type extensions configu…
Browse files Browse the repository at this point in the history
…red with new getExtendedTypes method
  • Loading branch information
markitosgv committed Feb 27, 2019
1 parent b337f7c commit c4be39c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -102,9 +102,9 @@ private function processFormTypeExtensions(ContainerBuilder $container)
} elseif (method_exists($serviceDefinition->getClass(), 'getExtendedTypes')) {
$extendsTypes = false;

$typeExtensionsClasses[] = $serviceDefinition->getClass();
foreach ($serviceDefinition->getClass()::getExtendedTypes() as $extendedType) {
$typeExtensions[$extendedType][] = new Reference($serviceId);
$typeExtensionsClasses[] = $serviceDefinition->getClass();
$extendsTypes = true;
}

Expand Down

0 comments on commit c4be39c

Please sign in to comment.