From e0cbba35c649784e30d8b29f2c092820bb7a7b8e Mon Sep 17 00:00:00 2001 From: Alexey Chelnakov Date: Mon, 26 Sep 2022 14:15:28 +0300 Subject: [PATCH] fix deprecations --- Form/Extension/DescriptionFormTypeExtension.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Form/Extension/DescriptionFormTypeExtension.php b/Form/Extension/DescriptionFormTypeExtension.php index 8fa9a8c..151d803 100644 --- a/Form/Extension/DescriptionFormTypeExtension.php +++ b/Form/Extension/DescriptionFormTypeExtension.php @@ -60,7 +60,7 @@ class DescriptionFormTypeExtension extends AbstractTypeExtension /** * {@inheritdoc} */ - public function getExtendedTypes() + public static function getExtendedTypes() { return [LegacyFormHelper::getType('Symfony\Component\Form\Extension\Core\Type\FormType')]; }