Fix loading extension: use the new way

This commit is contained in:
Julien Fastré 2023-08-02 16:26:05 +02:00
parent 378e417d5c
commit 458a59fe1b
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

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