Passed
Push — v4 ( d735d2...ba9cd8 )
by Andrew
26:33 queued 18:07
created
src/models/BaseImageTag.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,14 +31,14 @@
 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'])) {
38 38
             if (empty($attrs['style'])) {
39 39
                 $attrs['style'] = [];
40 40
             }
41
-            $attrs['style']['background-image'] = 'url(' . $this->getLazyLoadSrc($placeHolder) . ')';
41
+            $attrs['style']['background-image'] = 'url('.$this->getLazyLoadSrc($placeHolder).')';
42 42
             $attrs['style']['background-size'] = 'cover';
43 43
         }
44 44
         // Handle attributes that lazy  and lazySizesFallback have in common
Please login to merge, or discard this patch.