Completed
Push — master ( 8c805f...b9347c )
by Dmitrijs
03:46
created
src/widgets/Tabs.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
                 $headerOptions = array_merge($this->headerOptions, ArrayHelper::getValue($item, 'headerOptions', []));
107 107
                 $linkOptions = array_merge($this->linkOptions, ArrayHelper::getValue($item, 'linkOptions', []));
108 108
                 $options = array_merge($this->itemOptions, ArrayHelper::getValue($item, 'options', []));
109
-                $options['id'] = ArrayHelper::getValue($options, 'id', $this->options['id'] . '-tab' . $index);
109
+                $options['id'] = ArrayHelper::getValue($options, 'id', $this->options['id'].'-tab'.$index);
110 110
 
111 111
 
112 112
 
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
 
119 119
         $html = Html::tag('ul', implode("\n", $headers), $this->options);
120 120
         $html .= $this->renderTabContent
121
-            ? "\n" . Html::tag('div', implode("\n", $panes), ['class' => 'tab-content'])
121
+            ? "\n".Html::tag('div', implode("\n", $panes), ['class' => 'tab-content'])
122 122
             : '';
123 123
 
124 124
         return $html;
Please login to merge, or discard this patch.