Completed
Pull Request — master (#1868)
by Marc
51:14
created
core/lazyload/LazyLoad.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -135,17 +135,17 @@
 block discarded – undo
135 135
      */
136 136
     public function run()
137 137
     {
138
-        $class = ($this->placeholderSrc ? 'lazyimage-wrapper' : 'lazy-image') . ' ' . $this->extraClass;
138
+        $class = ($this->placeholderSrc ? 'lazyimage-wrapper' : 'lazy-image').' '.$this->extraClass;
139 139
 
140 140
         if ($this->attributesOnly && !$this->placeholderSrc) {
141 141
             return "class=\"{$class}\" data-src=\"$this->src\" data-width=\"$this->width\" data-height=\"$this->height\" data-as-background=\"1\"";
142 142
         }
143 143
 
144 144
         if ($this->placeholderSrc) {
145
-            $tag = '<div class="' . $class . '">';
145
+            $tag = '<div class="'.$class.'">';
146 146
             $tag .= Html::tag('img', '', ['class' => 'lazy-image lazyimage', 'data-src' => $this->src]);
147 147
             $tag .= Html::tag('img', '', ['class' => 'lazyimage-placeholder-image', 'src' => $this->placeholderSrc]);
148
-            $tag .= '<noscript><img class="lazyimage-image" src="' . $this->src . '" /></noscript>';
148
+            $tag .= '<noscript><img class="lazyimage-image" src="'.$this->src.'" /></noscript>';
149 149
             $tag .= '</div>';
150 150
         } else {
151 151
             $tag = Html::tag('img', '', ['class' => $class, 'data-src' => $this->src, 'data-width' => $this->width, 'data-height' => $this->height]);
Please login to merge, or discard this patch.