Skip to content

Commit 1e00185

Browse files
committed
Catch up With Latest Commits to Master
1 parent b351108 commit 1e00185

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/PhpWord/Shared/Html.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ private static function replaceNonAsciiIfNeeded(string $convert): ?string
172172
* parse Inline style of a node.
173173
*
174174
* @param DOMNode $node Node to check on attributes and to compile a style array
175-
* @param array<string, mixed> $styles is supplied, the inline style attributes are added to the already existing style
175+
* @param array $styles is supplied, the inline style attributes are added to the already existing style
176176
*
177177
* @return array
178178
*/

tests/PhpWordTests/Shared/HtmlTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,6 @@ public function testSpanClassName(): void
234234
$html = '<p>This is <span class="boldtext">bold</span> text.</p>';
235235
$section = $phpWord->addSection();
236236
Html::addHtml($section, $html);
237-
self::assertTrue(true);
238237
$element = $section->getElements()[0];
239238
self::assertInstanceOf(TextRun::class, $element);
240239
$textElements = $element->getElements();

0 commit comments

Comments
 (0)