@@ -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 | } |
@@ -164,7 +164,7 @@ discard block |
||
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 |
||
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 |
||
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 |