@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | // Add icon to label text |
196 | 196 | if (isset($link['icon'])) { |
197 | 197 | // Has issues on positioning: https://github.com/Dogfalo/materialize/issues/6224 |
198 | - $label = $this->renderIcon($link['icon']) . $label; |
|
198 | + $label = $this->renderIcon($link['icon']).$label; |
|
199 | 199 | } |
200 | 200 | |
201 | 201 | $options = $link; |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | if (isset($link['url'])) { |
209 | 209 | return Html::a($label, $link['url'], $options); |
210 | 210 | } else { |
211 | - return Html::tag('span', $label, $options) ; |
|
211 | + return Html::tag('span', $label, $options); |
|
212 | 212 | } |
213 | 213 | } |
214 | 214 | } |
@@ -153,7 +153,7 @@ |
||
153 | 153 | MaterializeExtraAsset::register($view); |
154 | 154 | |
155 | 155 | // Has issues on positioning: https://github.com/google/material-design-icons/issues/206 |
156 | - $label = $this->renderIcon($link['icon']) . $label; |
|
156 | + $label = $this->renderIcon($link['icon']).$label; |
|
157 | 157 | } |
158 | 158 | |
159 | 159 | $options = $link['options']; |
@@ -127,6 +127,6 @@ |
||
127 | 127 | } |
128 | 128 | |
129 | 129 | $this->registerPlugin('button'); |
130 | - return Html::tag($this->tagName, $this->renderIcon($this->icon) . $label, $this->options); |
|
130 | + return Html::tag($this->tagName, $this->renderIcon($this->icon).$label, $this->options); |
|
131 | 131 | } |
132 | 132 | } |
@@ -159,7 +159,7 @@ discard block |
||
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 |
||
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 |
||
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; |