Fix loading extension: use the new way

This commit is contained in:
Julien Fastré 2023-08-02 19:51:08 +02:00
parent f68a163a30
commit 65e6ad0fc4
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

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];
}