Passed
Push — master ( e97433...d57a25 )
by Dmitrijs
02:20
created
src/widgets/Tabs.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@  discard block
 block discarded – undo
164 164
 
165 165
         $html = Html::tag('ul', implode("\n", $headers), $this->options);
166 166
         $html .= $this->renderTabContent
167
-            ? "\n" . Html::tag('div', implode("\n", $panes), ['class' => 'tab-content'])
167
+            ? "\n".Html::tag('div', implode("\n", $panes), ['class' => 'tab-content'])
168 168
             : '';
169 169
 
170 170
         return $html;
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
             $headerOptions = array_merge($this->headerOptions, ArrayHelper::getValue($item, 'headerOptions', []));
189 189
             $linkOptions = array_merge($this->linkOptions, ArrayHelper::getValue($item, 'linkOptions', []));
190 190
             $options = array_merge($this->itemOptions, ArrayHelper::getValue($item, 'options', []));
191
-            $options['id'] = ArrayHelper::getValue($options, 'id', $this->options['id'] . '-tab' . $index);
191
+            $options['id'] = ArrayHelper::getValue($options, 'id', $this->options['id'].'-tab'.$index);
192 192
 
193 193
             Html::addCssClass($options, 'col s12');
194 194
 
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
                 $linkOptions['target'] = isset($linkOptions['target']) ? $linkOptions['target'] : '_self';
211 211
                 $header = Html::a($label, $item['url'], $linkOptions);
212 212
             } else {
213
-                $header = Html::a($label, '#' . $options['id'], $linkOptions);
213
+                $header = Html::a($label, '#'.$options['id'], $linkOptions);
214 214
             }
215 215
 
216 216
             // Add tab content
Please login to merge, or discard this patch.