Passed
Push — master ( 74b07d...18673c )
by Dmitrijs
01:49
created
src/widgets/Button.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
         }
128 128
 
129 129
         $this->registerPlugin('button');
130
-        return Html::tag($this->tagName, $this->renderIcon() . $label, $this->options);
130
+        return Html::tag($this->tagName, $this->renderIcon().$label, $this->options);
131 131
     }
132 132
 
133 133
     /**
Please login to merge, or discard this patch.
src/widgets/Breadcrumbs.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
 
184 184
         // Add icon to label text
185 185
         if (isset($link['icon'])) {
186
-            $label = $this->renderIcon($link['icon']) . $label;
186
+            $label = $this->renderIcon($link['icon']).$label;
187 187
         }
188 188
 
189 189
         $options = $link;
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
         if (isset($link['url'])) {
197 197
             return Html::a($label, $link['url'], $options);
198 198
         } else {
199
-            return Html::tag('span', $label, $options) ;
199
+            return Html::tag('span', $label, $options);
200 200
         }
201 201
     }
202 202
 
Please login to merge, or discard this patch.