Passed
Push — master ( 604401...deb337 )
by Dmitrijs
02:32
created
src/widgets/Tabs.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -196,12 +196,12 @@  discard block
 block discarded – undo
196 196
         }
197 197
 
198 198
         $html = $this->insideCard
199
-            ? "\n" . Html::beginTag('div', $this->containerOptions)
199
+            ? "\n".Html::beginTag('div', $this->containerOptions)
200 200
             : '';
201 201
         $html .= Html::tag('ul', implode("\n", $headers), $this->options);
202
-        $html .= $this->insideCard ? "\n" . Html::endTag('div') : '';
202
+        $html .= $this->insideCard ? "\n".Html::endTag('div') : '';
203 203
         $html .= $this->renderTabContent
204
-            ? "\n" . Html::tag('div', implode("\n", $panes), $this->contentOptions)
204
+            ? "\n".Html::tag('div', implode("\n", $panes), $this->contentOptions)
205 205
             : '';
206 206
 
207 207
         return $html;
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
             $headerOptions = array_merge($this->headerOptions, ArrayHelper::getValue($item, 'headerOptions', []));
229 229
             $linkOptions = array_merge($this->linkOptions, ArrayHelper::getValue($item, 'linkOptions', []));
230 230
             $options = array_merge($this->itemOptions, ArrayHelper::getValue($item, 'options', []));
231
-            $options['id'] = ArrayHelper::getValue($options, 'id', $this->options['id'] . '-tab' . $index);
231
+            $options['id'] = ArrayHelper::getValue($options, 'id', $this->options['id'].'-tab'.$index);
232 232
 
233 233
             // Adds necessary classes for tab item
234 234
             $this->addItemClasses($item, $options);
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
                 $linkOptions['target'] = isset($linkOptions['target']) ? $linkOptions['target'] : '_self';
240 240
                 $header = Html::a($label, $item['url'], $linkOptions);
241 241
             } else {
242
-                $header = Html::a($label, '#' . $options['id'], $linkOptions);
242
+                $header = Html::a($label, '#'.$options['id'], $linkOptions);
243 243
             }
244 244
 
245 245
             // Add tab content
Please login to merge, or discard this patch.