fix deprecations: replace last fqcn in add methods for forms

This commit is contained in:
nobohan
2018-04-13 15:20:04 +02:00
parent 0287da70d7
commit da9aecefa7
3 changed files with 9 additions and 5 deletions

View File

@@ -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
));