]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
misc: reindent EntryFilterType
authorKevin Decherf <kevin@kdecherf.com>
Fri, 20 Mar 2020 23:43:01 +0000 (00:43 +0100)
committerKevin Decherf <kevin@kdecherf.com>
Fri, 20 Mar 2020 23:43:01 +0000 (00:43 +0100)
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
src/Wallabag/CoreBundle/Form/Type/EntryFilterType.php

index 17070c5981e874a19f7d54be899f7383ba09ff64..365804dd74605bce1f5df5e782d4cef748a7d612 100644 (file)
@@ -73,23 +73,22 @@ class EntryFilterType extends AbstractType
                 'label' => 'entry.filters.reading_time.label',
             ])
             ->add('createdAt', DateRangeFilterType::class, [
-                    'left_date_options' => [
-                        'attr' => [
-                            'placeholder' => 'dd/mm/yyyy',
-                        ],
-                        'format' => 'dd/MM/yyyy',
-                        'widget' => 'single_text',
+                'left_date_options' => [
+                    'attr' => [
+                        'placeholder' => 'dd/mm/yyyy',
                     ],
-                    'right_date_options' => [
-                        'attr' => [
-                            'placeholder' => 'dd/mm/yyyy',
-                        ],
-                        'format' => 'dd/MM/yyyy',
-                        'widget' => 'single_text',
+                    'format' => 'dd/MM/yyyy',
+                    'widget' => 'single_text',
+                ],
+                'right_date_options' => [
+                    'attr' => [
+                        'placeholder' => 'dd/mm/yyyy',
                     ],
-                    'label' => 'entry.filters.created_at.label',
-                ]
-            )
+                    'format' => 'dd/MM/yyyy',
+                    'widget' => 'single_text',
+                ],
+                'label' => 'entry.filters.created_at.label',
+            ])
             ->add('domainName', TextFilterType::class, [
                 'apply_filter' => function (QueryInterface $filterQuery, $field, $values) {
                     $value = $values['value'];