aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Form/Type/NewEntryType.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-06-08 16:35:02 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-06-08 16:35:02 +0200
commitac9d58211e1c6676485ef15d023215e5a465f3a8 (patch)
tree8b73ad50783cf8066ec4171367e2dd1e26026636 /src/Wallabag/CoreBundle/Form/Type/NewEntryType.php
parent82d6d9cb06a1486e2e3b05fa6ce857b3b8655180 (diff)
parent3cf22a05416b9994aa458ea045d232264006e7cf (diff)
downloadwallabag-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.php4
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
5use Symfony\Component\Form\AbstractType; 5use Symfony\Component\Form\AbstractType;
6use Symfony\Component\Form\FormBuilderInterface; 6use Symfony\Component\Form\FormBuilderInterface;
7use Symfony\Component\OptionsResolver\OptionsResolverInterface; 7use Symfony\Component\OptionsResolver\OptionsResolver;
8 8
9class NewEntryType extends AbstractType 9class 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',