@@ -71,15 +71,15 @@ discard block |
||
71 | 71 | { |
72 | 72 | $formMapper->add('settings', ImmutableArrayType::class, [ |
73 | 73 | 'keys' => [ |
74 | - ['text', TextType::class, [ |
|
74 | + [ 'text', TextType::class, [ |
|
75 | 75 | 'label' => 'form.label_text', |
76 | 76 | 'required' => false, |
77 | - ]], |
|
78 | - ['url', UrlType::class, [ |
|
77 | + ] ], |
|
78 | + [ 'url', UrlType::class, [ |
|
79 | 79 | 'label' => 'form.label_url', |
80 | 80 | 'required' => false, |
81 | - ]], |
|
82 | - ['position', ChoiceType::class, [ |
|
81 | + ] ], |
|
82 | + [ 'position', ChoiceType::class, [ |
|
83 | 83 | 'label' => 'form.label_position', |
84 | 84 | 'choices' => [ |
85 | 85 | 'form.choice_top' => 'top', |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | 'form.choice_bottom' => 'bottom', |
88 | 88 | 'form.choice_block' => 'block', |
89 | 89 | ], |
90 | - ]], |
|
90 | + ] ], |
|
91 | 91 | ], |
92 | 92 | 'translation_domain' => 'Core23GDPRBundle', |
93 | 93 | ]); |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | public function getJavascripts($media) |
113 | 113 | { |
114 | 114 | if ($this->hasGdprCookie()) { |
115 | - return []; |
|
115 | + return [ ]; |
|
116 | 116 | } |
117 | 117 | |
118 | 118 | return [ |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | public function getStylesheets($media) |
127 | 127 | { |
128 | 128 | if ($this->hasGdprCookie()) { |
129 | - return []; |
|
129 | + return [ ]; |
|
130 | 130 | } |
131 | 131 | |
132 | 132 | return [ |