Fix loading extension: use the new way

This commit is contained in:
2023-08-02 19:51:08 +02:00
parent f68a163a30
commit 65e6ad0fc4

View File

@@ -18,7 +18,7 @@ use Symfony\Component\Form\Extension\Core\Type\IntegerType;
*/
class PostTextIntegerExtension extends PostTextExtension
{
public function getExtendedTypes(): iterable
public static function getExtendedTypes(): iterable
{
return [IntegerType::class];
}