Skip to content

Commit 4e76286

Browse files
author
Leny BERNARD
committed
Merge pull request #20 from FriendsOfVictoire/analysis-XNAZGr
Applied fixes from StyleCI
2 parents 2243273 + 84b65f1 commit 4e76286

3 files changed

Lines changed: 5 additions & 10 deletions

File tree

DependencyInjection/Configuration.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
66
use Symfony\Component\Config\Definition\ConfigurationInterface;
77

8-
/**
9-
*/
108
class Configuration implements ConfigurationInterface
119
{
1210
/**

Form/WidgetImageType.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function buildForm(FormBuilderInterface $builder, array $options)
5656
'widget_image.form.hover.choice.tooltip.label' => 'tooltip',
5757
],
5858
'choices_as_values' => true,
59-
'attr' => [
59+
'attr' => [
6060
'data-refreshOnChange' => 'true',
6161
],
6262
]);
@@ -98,8 +98,8 @@ protected function manageRelativeFields(FormInterface $form, $hover)
9898
'required' => false,
9999
])
100100
->add('placement', ChoiceType::class, [
101-
'label' => 'widget_image.form.placement.label',
102-
'choices' => $positionChoices,
101+
'label' => 'widget_image.form.placement.label',
102+
'choices' => $positionChoices,
103103
'choices_as_values' => true,
104104
]);
105105
} elseif ($hover == 'tooltip') {
@@ -109,8 +109,8 @@ protected function manageRelativeFields(FormInterface $form, $hover)
109109
'label' => 'widget_image.form.title.tooltip.label',
110110
])
111111
->add('placement', ChoiceType::class, [
112-
'label' => 'widget_image.form.placement.label',
113-
'choices' => $positionChoices,
112+
'label' => 'widget_image.form.placement.label',
113+
'choices' => $positionChoices,
114114
'choices_as_values' => true,
115115
]);
116116
} else {

VictoireWidgetImageBundle.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44

55
use Symfony\Component\HttpKernel\Bundle\Bundle;
66

7-
/**
8-
*
9-
*/
107
class VictoireWidgetImageBundle extends Bundle
118
{
129
}

0 commit comments

Comments
 (0)