We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
__toString()
ParserTest
1 parent b525327 commit 3804c57Copy full SHA for 3804c57
tests/ParserTest.php
@@ -193,7 +193,7 @@ public function unicodeParsing(): void
193
continue;
194
}
195
$contentRules = $ruleSet->getRules('content');
196
- $firstContentRuleAsString = $contentRules[0]->getValue()->__toString();
+ $firstContentRuleAsString = $contentRules[0]->getValue()->render(OutputFormat::create());
197
if ($selector === '.test-1') {
198
self::assertSame('" "', $firstContentRuleAsString);
199
0 commit comments