diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-06-03 21:24:11 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-06-03 21:24:11 +0200 |
commit | 3cf22a05416b9994aa458ea045d232264006e7cf (patch) | |
tree | f1ef00c22a8991b504d2f9d0813c823e9c98f7b1 /src/Wallabag/CoreBundle/Form/Type/NewUserType.php | |
parent | 51d9699fa130a18a1c5cd09d1b03a382d73e91db (diff) | |
parent | 75e9d1df03831a3dc1f92b0ef713c5e2f90fa543 (diff) | |
download | wallabag-3cf22a05416b9994aa458ea045d232264006e7cf.tar.gz wallabag-3cf22a05416b9994aa458ea045d232264006e7cf.tar.zst wallabag-3cf22a05416b9994aa458ea045d232264006e7cf.zip |
Merge pull request #1206 from wallabag/sf-2.7
Upgrade to Symfony 2.7
Diffstat (limited to 'src/Wallabag/CoreBundle/Form/Type/NewUserType.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Form/Type/NewUserType.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Form/Type/NewUserType.php b/src/Wallabag/CoreBundle/Form/Type/NewUserType.php index a12fff2b..985cb55b 100644 --- a/src/Wallabag/CoreBundle/Form/Type/NewUserType.php +++ b/src/Wallabag/CoreBundle/Form/Type/NewUserType.php | |||
@@ -4,7 +4,7 @@ namespace Wallabag\CoreBundle\Form\Type; | |||
4 | 4 | ||
5 | use Symfony\Component\Form\AbstractType; | 5 | use Symfony\Component\Form\AbstractType; |
6 | use Symfony\Component\Form\FormBuilderInterface; | 6 | use Symfony\Component\Form\FormBuilderInterface; |
7 | use Symfony\Component\OptionsResolver\OptionsResolverInterface; | 7 | use Symfony\Component\OptionsResolver\OptionsResolver; |
8 | use Symfony\Component\Validator\Constraints; | 8 | use Symfony\Component\Validator\Constraints; |
9 | 9 | ||
10 | class NewUserType extends AbstractType | 10 | class NewUserType extends AbstractType |
@@ -27,7 +27,7 @@ class NewUserType extends AbstractType | |||
27 | ; | 27 | ; |
28 | } | 28 | } |
29 | 29 | ||
30 | public function setDefaultOptions(OptionsResolverInterface $resolver) | 30 | public function configureOptions(OptionsResolver $resolver) |
31 | { | 31 | { |
32 | $resolver->setDefaults(array( | 32 | $resolver->setDefaults(array( |
33 | 'data_class' => 'Wallabag\CoreBundle\Entity\User', | 33 | 'data_class' => 'Wallabag\CoreBundle\Entity\User', |