Skip to content

Commit ca90946

Browse files
committed
Fix deprecation
1 parent ef1e5e9 commit ca90946

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Form/ResetPasswordRequestFormType.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
2929
$builder
3030
->add('email', TextType::class, [
3131
'constraints' => [
32-
new NotBlank([
33-
'message' => 'Please enter your email',
34-
]),
32+
new NotBlank(message: 'Please enter your email'),
3533
],
3634
'label' => 'Username / Email',
3735
])

0 commit comments

Comments
 (0)