Skip to content

Commit ed9193c

Browse files
[Form] fix merge
1 parent d353e4f commit ed9193c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/Symfony/Component/Form/Extension/Core/Type/TransformationFailureExtension.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,11 @@ public function buildForm(FormBuilderInterface $builder, array $options)
3535
}
3636
}
3737

38-
public function getExtendedType()
38+
/**
39+
* {@inheritdoc}
40+
*/
41+
public static function getExtendedTypes(): iterable
3942
{
40-
return 'Symfony\Component\Form\Extension\Core\Type\FormType';
43+
return array(FormType::class);
4144
}
4245
}

0 commit comments

Comments
 (0)