Passed
Push — main ( 67734d...d50340 )
by Damien
01:53
created
src/Builder/InlineNodeBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
         return $this;
28 28
     }
29 29
 
30
-    public function break(?Node $parent = null): self
30
+    public function break(?Node $parent = null) : self
31 31
     {
32 32
         $this->append(new Hardbreak($parent));
33 33
         
Please login to merge, or discard this patch.
src/Node/Block/MediaSingle.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,8 +50,9 @@
 block discarded – undo
50 50
         parent::__construct($parent);
51 51
         $this->layout = $layout;
52 52
 
53
-        if (is_float($width))
54
-            $width = round($width, 2);
53
+        if (is_float($width)) {
54
+                    $width = round($width, 2);
55
+        }
55 56
         $this->width = $width;
56 57
     }
57 58
 
Please login to merge, or discard this patch.
src/Node/Child/Media.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,12 +36,14 @@
 block discarded – undo
36 36
         $this->collection = $collection;
37 37
         $this->occurrenceKey = $occurrenceKey;
38 38
 
39
-        if (is_float($width))
40
-            $width = round($width, 2);
39
+        if (is_float($width)) {
40
+                    $width = round($width, 2);
41
+        }
41 42
         $this->width = $width;
42 43
 
43
-        if (is_float($height))
44
-            $height = round($height, 2);
44
+        if (is_float($height)) {
45
+                    $height = round($height, 2);
46
+        }
45 47
         $this->height = $height;
46 48
     }
47 49
 
Please login to merge, or discard this patch.
src/Exporter/Html/HtmlExporter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -162,11 +162,11 @@
 block discarded – undo
162 162
 
163 163
         if (1 === \count($this->tags)) {
164 164
             // no closing tag
165
-            return $this->tags[0] . $output;
165
+            return $this->tags[0].$output;
166 166
         }
167 167
 
168 168
         // opening and closing tags
169
-        return $this->tags[0] . $output . $this->tags[1];
169
+        return $this->tags[0].$output.$this->tags[1];
170 170
     }
171 171
 
172 172
     /**
Please login to merge, or discard this patch.