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 d3f3f65 commit 7ad4226Copy full SHA for 7ad4226
tests/PhpWordTests/Writer/HTML/Element/TableTest.php
@@ -232,7 +232,7 @@ public function testWriteTableCellVMerge(): void
232
$cell3Query = $xpath->query('//table/tr[3]/td[1]');
233
self::assertNotFalse($cell3Query);
234
self::assertCount(1, $cell3Query);
235
- self::assertObjectHasProperty('attributes', $cell3Query->item(0));
+ self::assertClassHasAttribute($cell3Query->item(0), 'attributes');
236
self::assertNull($cell3Query->item(0)->attributes->getNamedItem('rowspan'));
237
}
238
0 commit comments