mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 02:23:51 +00:00
fix deprecations: replace last fqcn in add methods for forms
This commit is contained in:
@@ -21,7 +21,7 @@ class UserType extends AbstractType
|
||||
->add('username')
|
||||
;
|
||||
if ($options['is_creation']) {
|
||||
$builder->add('plainPassword', new UserPasswordType(), array(
|
||||
$builder->add('plainPassword', UserPasswordType::class, array(
|
||||
'mapped' => false
|
||||
));
|
||||
|
||||
|
Reference in New Issue
Block a user