Completed
Push — master ( b9347c...09052b )
by Dmitrijs
02:21
created
src/widgets/Tabs.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
                 $headerOptions = array_merge($this->headerOptions, ArrayHelper::getValue($item, 'headerOptions', []));
160 160
                 $linkOptions = array_merge($this->linkOptions, ArrayHelper::getValue($item, 'linkOptions', []));
161 161
                 $options = array_merge($this->itemOptions, ArrayHelper::getValue($item, 'options', []));
162
-                $options['id'] = ArrayHelper::getValue($options, 'id', $this->options['id'] . '-tab' . $index);
162
+                $options['id'] = ArrayHelper::getValue($options, 'id', $this->options['id'].'-tab'.$index);
163 163
 
164 164
                 Html::addCssClass($options, 'col s12');
165 165
 
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
                     $linkOptions['target'] = isset($linkOptions['target']) ? $linkOptions['target'] : '_self';
182 182
                     $header = Html::a($label, $item['url'], $linkOptions);
183 183
                 } else {
184
-                    $header = Html::a($label, '#' . $options['id'], $linkOptions);
184
+                    $header = Html::a($label, '#'.$options['id'], $linkOptions);
185 185
                 }
186 186
 
187 187
                 // Add tab content
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
 
197 197
         $html = Html::tag('ul', implode("\n", $headers), $this->options);
198 198
         $html .= $this->renderTabContent
199
-            ? "\n" . Html::tag('div', implode("\n", $panes), ['class' => 'tab-content'])
199
+            ? "\n".Html::tag('div', implode("\n", $panes), ['class' => 'tab-content'])
200 200
             : '';
201 201
 
202 202
         return $html;
Please login to merge, or discard this patch.