File tree Expand file tree Collapse file tree 2 files changed +5
-21
lines changed Expand file tree Collapse file tree 2 files changed +5
-21
lines changed Original file line number Diff line number Diff line change @@ -371,21 +371,3 @@ parameters:
371
371
identifier : typePerfect.narrowPublicClassMethodParamType
372
372
count : 1
373
373
path : ../src/Value/Size.php
374
-
375
- -
376
- message : ' #^Call to an undefined method Sabberworm\\CSS\\OutputFormat\:\:implode\(\)\.$#'
377
- identifier : method.notFound
378
- count : 1
379
- path : ../src/Value/ValueList.php
380
-
381
- -
382
- message : ' #^Call to an undefined method Sabberworm\\CSS\\OutputFormat\:\:spaceAfterListArgumentSeparator\(\)\.$#'
383
- identifier : method.notFound
384
- count : 1
385
- path : ../src/Value/ValueList.php
386
-
387
- -
388
- message : ' #^Call to an undefined method Sabberworm\\CSS\\OutputFormat\:\:spaceBeforeListArgumentSeparator\(\)\.$#'
389
- identifier : method.notFound
390
- count : 1
391
- path : ../src/Value/ValueList.php
Original file line number Diff line number Diff line change @@ -93,9 +93,11 @@ public function __toString(): string
93
93
94
94
public function render (OutputFormat $ outputFormat ): string
95
95
{
96
- return $ outputFormat ->implode (
97
- $ outputFormat ->spaceBeforeListArgumentSeparator ($ this ->separator ) . $ this ->separator
98
- . $ outputFormat ->spaceAfterListArgumentSeparator ($ this ->separator ),
96
+ $ formatter = $ outputFormat ->getFormatter ();
97
+
98
+ return $ formatter ->implode (
99
+ $ formatter ->spaceBeforeListArgumentSeparator ($ this ->separator ) . $ this ->separator
100
+ . $ formatter ->spaceAfterListArgumentSeparator ($ this ->separator ),
99
101
$ this ->components
100
102
);
101
103
}
You can’t perform that action at this time.
0 commit comments