Passed
Push — v5 ( 232b22...10813e )
by Andrew
24:11 queued 16:50
created
src/models/BaseImageTag.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     {
32 32
         // Set the class and loading attributes
33 33
         if (isset($attrs['class'])) {
34
-            $attrs['class'] = trim($attrs['class'] . ' lazyload');
34
+            $attrs['class'] = trim($attrs['class'].' lazyload');
35 35
         }
36 36
         // Set the style on this element to be the placeholder image as the background-image
37 37
         if (isset($attrs['style']) && !empty($attrs['src'])) {
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
             }
41 41
             // Don't add the background placeholder if it is set to 'none'
42 42
             if ($placeHolder !== 'none') {
43
-                $attrs['style']['background-image'] = 'url(' . $this->getLazyLoadSrc($placeHolder) . ')';
43
+                $attrs['style']['background-image'] = 'url('.$this->getLazyLoadSrc($placeHolder).')';
44 44
                 $attrs['style']['background-size'] = 'cover';
45 45
             }
46 46
         }
Please login to merge, or discard this patch.