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 @@ -36,12 +36,6 @@ parameters:
36
36
count : 1
37
37
path : ../src/CSSList/CSSList.php
38
38
39
- -
40
- message : ' #^Call to an undefined method Sabberworm\\CSS\\OutputFormat\:\:comments\(\)\.$#'
41
- identifier : method.notFound
42
- count : 1
43
- path : ../src/CSSList/Document.php
44
-
45
39
-
46
40
message : ' #^Parameters should have "string\|null" types as the only types passed to this method$#'
47
41
identifier : typePerfect.narrowPublicClassMethodParamType
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ public function render(?OutputFormat $outputFormat = null): string
86
86
if ($ outputFormat === null ) {
87
87
$ outputFormat = new OutputFormat ();
88
88
}
89
- return $ outputFormat ->comments ($ this ) . $ this ->renderListContents ($ outputFormat );
89
+ return $ outputFormat ->getFormatter ()-> comments ($ this ) . $ this ->renderListContents ($ outputFormat );
90
90
}
91
91
92
92
public function isRootList (): bool
You can’t perform that action at this time.
0 commit comments