Skip to content

Commit 5c8fa0b

Browse files
committed
Fix UserLoginType::getBlockPrefix() return type for Symfony 8.1 compatibility
AbstractType::getBlockPrefix() return type changed from ?string to string in Symfony 8.1, making the ?string override a fatal incompatible declaration.
1 parent de2bb38 commit 5c8fa0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Form/Type/User/UserLoginType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
7777
);
7878
}
7979

80-
public function getBlockPrefix(): ?string
80+
public function getBlockPrefix(): string
8181
{
8282
return '';
8383
}

0 commit comments

Comments
 (0)