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/EntryType.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/EntryType.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Form/Type/EntryType.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Form/Type/EntryType.php b/src/Wallabag/CoreBundle/Form/Type/EntryType.php index 0532bf10..4abdc10b 100644 --- a/src/Wallabag/CoreBundle/Form/Type/EntryType.php +++ b/src/Wallabag/CoreBundle/Form/Type/EntryType.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 | 8 | ||
9 | class EntryType extends AbstractType | 9 | class EntryType extends AbstractType |
10 | { | 10 | { |
@@ -16,7 +16,7 @@ class EntryType extends AbstractType | |||
16 | ; | 16 | ; |
17 | } | 17 | } |
18 | 18 | ||
19 | public function setDefaultOptions(OptionsResolverInterface $resolver) | 19 | public function configureOptions(OptionsResolver $resolver) |
20 | { | 20 | { |
21 | $resolver->setDefaults(array( | 21 | $resolver->setDefaults(array( |
22 | 'data_class' => 'Wallabag\CoreBundle\Entity\Entry', | 22 | 'data_class' => 'Wallabag\CoreBundle\Entity\Entry', |