aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Form/Type/RssType.php
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2015-12-22 10:16:34 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-01-15 09:35:38 +0100
commit619cc45359ead519b64129181a07e14160fbbfcb (patch)
tree328691553a67be72a1156ff976036ed0ac7b85bb /src/Wallabag/CoreBundle/Form/Type/RssType.php
parent516022d60ea5c4e0c18a222590d23190a2c7765f (diff)
downloadwallabag-619cc45359ead519b64129181a07e14160fbbfcb.tar.gz
wallabag-619cc45359ead519b64129181a07e14160fbbfcb.tar.zst
wallabag-619cc45359ead519b64129181a07e14160fbbfcb.zip
Symfony Upgrade Fixer FTW
symfony-upgrade-fixer fix src/Wallabag/
Diffstat (limited to 'src/Wallabag/CoreBundle/Form/Type/RssType.php')
-rw-r--r--src/Wallabag/CoreBundle/Form/Type/RssType.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Form/Type/RssType.php b/src/Wallabag/CoreBundle/Form/Type/RssType.php
index 1f7f4c68..def8782c 100644
--- a/src/Wallabag/CoreBundle/Form/Type/RssType.php
+++ b/src/Wallabag/CoreBundle/Form/Type/RssType.php
@@ -3,6 +3,7 @@
3namespace Wallabag\CoreBundle\Form\Type; 3namespace Wallabag\CoreBundle\Form\Type;
4 4
5use Symfony\Component\Form\AbstractType; 5use Symfony\Component\Form\AbstractType;
6use Symfony\Component\Form\Extension\Core\Type\SubmitType;
6use Symfony\Component\Form\FormBuilderInterface; 7use Symfony\Component\Form\FormBuilderInterface;
7use Symfony\Component\OptionsResolver\OptionsResolver; 8use Symfony\Component\OptionsResolver\OptionsResolver;
8 9
@@ -12,7 +13,7 @@ class RssType extends AbstractType
12 { 13 {
13 $builder 14 $builder
14 ->add('rss_limit') 15 ->add('rss_limit')
15 ->add('save', 'submit') 16 ->add('save', SubmitType::class)
16 ; 17 ;
17 } 18 }
18 19
@@ -23,7 +24,7 @@ class RssType extends AbstractType
23 )); 24 ));
24 } 25 }
25 26
26 public function getName() 27 public function getBlockPrefix()
27 { 28 {
28 return 'rss_config'; 29 return 'rss_config';
29 } 30 }