Passed
Push — main ( c80162...2c6f81 )
by Sammy
01:46
created
src/Element.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
 
79 79
         foreach ($this->attributes as $name => $value) {
80 80
             $name = ($this->formatter)($name);
81
-            $attributes .= ' ' . ($value === true ? $name : sprintf('%s="%s"', $name, ($this->formatter)((string)$value)));
81
+            $attributes .= ' '.($value === true ? $name : sprintf('%s="%s"', $name, ($this->formatter)((string)$value)));
82 82
         }
83 83
 
84 84
         return $this->inner === null
Please login to merge, or discard this patch.
src/Marker.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
         $attributes['alt'] ??= $alt;
24 24
         $attributes['title'] ??= $alt;
25 25
 
26
-        return new Element('img', null,$attributes, $formatter);
26
+        return new Element('img', null, $attributes, $formatter);
27 27
     }
28 28
 
29 29
     /**
@@ -36,6 +36,6 @@  discard block
 block discarded – undo
36 36
     {
37 37
         $attributes['href'] = $href;
38 38
 
39
-        return new Element('a', $label,$attributes, $formatter);
39
+        return new Element('a', $label, $attributes, $formatter);
40 40
     }
41 41
 }
Please login to merge, or discard this patch.