diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-06-08 16:35:02 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-06-08 16:35:02 +0200 |
commit | ac9d58211e1c6676485ef15d023215e5a465f3a8 (patch) | |
tree | 8b73ad50783cf8066ec4171367e2dd1e26026636 /src/Wallabag/CoreBundle/Form/Type/NewEntryType.php | |
parent | 82d6d9cb06a1486e2e3b05fa6ce857b3b8655180 (diff) | |
parent | 3cf22a05416b9994aa458ea045d232264006e7cf (diff) | |
download | wallabag-ac9d58211e1c6676485ef15d023215e5a465f3a8.tar.gz wallabag-ac9d58211e1c6676485ef15d023215e5a465f3a8.tar.zst wallabag-ac9d58211e1c6676485ef15d023215e5a465f3a8.zip |
Merge branch 'v2' into v2-edit-title
Diffstat (limited to 'src/Wallabag/CoreBundle/Form/Type/NewEntryType.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Form/Type/NewEntryType.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Form/Type/NewEntryType.php b/src/Wallabag/CoreBundle/Form/Type/NewEntryType.php index a2d203ea..cb96d11a 100644 --- a/src/Wallabag/CoreBundle/Form/Type/NewEntryType.php +++ b/src/Wallabag/CoreBundle/Form/Type/NewEntryType.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 NewEntryType extends AbstractType | 9 | class NewEntryType extends AbstractType |
10 | { | 10 | { |
@@ -16,7 +16,7 @@ class NewEntryType 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', |