diff options
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', |