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.
1 parent d407afd commit 3c34abfCopy full SHA for 3c34abf
tests/PhpWordTests/Writer/RTF/Style/FontTest.php
@@ -80,8 +80,7 @@ public function testFontColorRegistered(): void
80
$style->setFgColor($style::FGCOLOR_RED);
81
$style->setBgColor('#123456');
82
83
- $section = $phpWord->addSection();
84
- $section->addFontStyle('style1', $style);
+ $phpWord->addFontStyle('style1', $style);
85
$parentWriter->getWriterPart('Header')->write();
86
87
$expect = '\f0\fs48\cf0\highlight0\cb0 ';
0 commit comments