Skip to content

Commit 1f54c0e

Browse files
committed
[CLEANUP] Avoid magic method forwarding in CalcRuleValueList
Part of #1147
1 parent 230fd2a commit 1f54c0e

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

config/phpstan-baseline.neon

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -252,12 +252,6 @@ parameters:
252252
count: 3
253253
path: ../src/Value/CalcFunction.php
254254

255-
-
256-
message: '#^Call to an undefined method Sabberworm\\CSS\\OutputFormat\:\:implode\(\)\.$#'
257-
identifier: method.notFound
258-
count: 1
259-
path: ../src/Value/CalcRuleValueList.php
260-
261255
-
262256
message: '#^Call to method Sabberworm\\CSS\\Value\\Color\:\:hasNoneAsComponentValue\(\) with incorrect case\: HasNoneAsComponentValue$#'
263257
identifier: method.nameCase

src/Value/CalcRuleValueList.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ public function __construct(int $lineNumber = 0)
1818

1919
public function render(OutputFormat $outputFormat): string
2020
{
21-
return $outputFormat->implode(' ', $this->components);
21+
return $outputFormat->getFormatter()->implode(' ', $this->components);
2222
}
2323
}

0 commit comments

Comments
 (0)