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 @@ -90,12 +90,6 @@ parameters:
9090 count : 1
9191 path : ../src/Property/Charset.php
9292
93- -
94- message : ' #^Call to an undefined method Sabberworm\\CSS\\OutputFormat\:\:comments\(\)\.$#'
95- identifier : method.notFound
96- count : 1
97- path : ../src/Property/Import.php
98-
9993 -
10094 message : ' #^Only booleans are allowed in an if condition, string given\.$#'
10195 identifier : if.condNotBoolean
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ public function __toString(): string
8282
8383 public function render (OutputFormat $ outputFormat ): string
8484 {
85- return $ outputFormat ->comments ($ this ) . '@import ' . $ this ->location ->render ($ outputFormat )
85+ return $ outputFormat ->getFormatter ()-> comments ($ this ) . '@import ' . $ this ->location ->render ($ outputFormat )
8686 . ($ this ->mediaQuery === null ? '' : ' ' . $ this ->mediaQuery ) . '; ' ;
8787 }
8888
You can’t perform that action at this time.
0 commit comments