File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -66,12 +66,6 @@ parameters:
6666 count : 1
6767 path : ../src/Property/CSSNamespace.php
6868
69- -
70- message : ' #^Call to an undefined method Sabberworm\\CSS\\OutputFormat\:\:comments\(\)\.$#'
71- identifier : method.notFound
72- count : 1
73- path : ../src/Property/Charset.php
74-
7569 -
7670 message : ' #^Method Sabberworm\\CSS\\Property\\Charset\:\:atRuleArgs\(\) should return string but returns Sabberworm\\CSS\\Value\\CSSString\.$#'
7771 identifier : return.type
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ public function __toString(): string
8181
8282 public function render (OutputFormat $ outputFormat ): string
8383 {
84- return "{$ outputFormat ->comments ($ this )}@charset {$ this ->charset ->render ($ outputFormat )}; " ;
84+ return "{$ outputFormat ->getFormatter ()-> comments ($ this )}@charset {$ this ->charset ->render ($ outputFormat )}; " ;
8585 }
8686
8787 /**
You can’t perform that action at this time.
0 commit comments