aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Form/Type/RssType.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-04-13 09:43:14 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2016-04-13 09:43:14 +0200
commitf2e5fdc3666a2a6525b4202ab48df05efeebaf5c (patch)
treef559474e248a33c472fe0b260641866be5c0def3 /src/Wallabag/CoreBundle/Form/Type/RssType.php
parenta417b869237763ee115982d6367a82aa6174d74e (diff)
parent86732aa01cf0ad0fb5279f38ce75a9bedbbb66e1 (diff)
downloadwallabag-f2e5fdc3666a2a6525b4202ab48df05efeebaf5c.tar.gz
wallabag-f2e5fdc3666a2a6525b4202ab48df05efeebaf5c.tar.zst
wallabag-f2e5fdc3666a2a6525b4202ab48df05efeebaf5c.zip
Merge pull request #1916 from wallabag/cleanup
Convert array + phpDoc
Diffstat (limited to 'src/Wallabag/CoreBundle/Form/Type/RssType.php')
-rw-r--r--src/Wallabag/CoreBundle/Form/Type/RssType.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Wallabag/CoreBundle/Form/Type/RssType.php b/src/Wallabag/CoreBundle/Form/Type/RssType.php
index a9f68e54..94324fed 100644
--- a/src/Wallabag/CoreBundle/Form/Type/RssType.php
+++ b/src/Wallabag/CoreBundle/Form/Type/RssType.php
@@ -12,20 +12,20 @@ class RssType extends AbstractType
12 public function buildForm(FormBuilderInterface $builder, array $options) 12 public function buildForm(FormBuilderInterface $builder, array $options)
13 { 13 {
14 $builder 14 $builder
15 ->add('rss_limit', null, array( 15 ->add('rss_limit', null, [
16 'label' => 'config.form_rss.rss_limit', 16 'label' => 'config.form_rss.rss_limit',
17 )) 17 ])
18 ->add('save', SubmitType::class, array( 18 ->add('save', SubmitType::class, [
19 'label' => 'config.form.save', 19 'label' => 'config.form.save',
20 )) 20 ])
21 ; 21 ;
22 } 22 }
23 23
24 public function configureOptions(OptionsResolver $resolver) 24 public function configureOptions(OptionsResolver $resolver)
25 { 25 {
26 $resolver->setDefaults(array( 26 $resolver->setDefaults([
27 'data_class' => 'Wallabag\CoreBundle\Entity\Config', 27 'data_class' => 'Wallabag\CoreBundle\Entity\Config',
28 )); 28 ]);
29 } 29 }
30 30
31 public function getBlockPrefix() 31 public function getBlockPrefix()