File tree 1 file changed +4
-4
lines changed
tests/PhpWordTests/Reader/Word2007
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -278,9 +278,9 @@ public function testReadTitleStyle(): void
278
278
}
279
279
280
280
/**
281
- * Test reading of nested table
281
+ * Test reading of nested table.
282
282
*/
283
- public function testReadNestedTable ()
283
+ public function testReadNestedTable (): void
284
284
{
285
285
$ documentXml = '<w:tbl>
286
286
<w:tr>
@@ -299,14 +299,14 @@ public function testReadNestedTable()
299
299
</w:tr>
300
300
</w:tbl> ' ;
301
301
302
- $ phpWord = $ this ->getDocumentFromString (array ( 'document ' => $ documentXml) );
302
+ $ phpWord = $ this ->getDocumentFromString ([ 'document ' => $ documentXml] );
303
303
304
304
$ section = $ phpWord ->getSection (0 );
305
305
$ table = $ section ->getElement (0 );
306
306
$ rows = $ table ->getRows ();
307
307
$ cells = $ rows [0 ]->getCells ();
308
308
$ nestedTable = $ cells [0 ]->getElement (0 );
309
- $ this -> assertInstanceOf ('PhpOffice\PhpWord\Element\Table ' , $ nestedTable );
309
+ self :: assertInstanceOf ('PhpOffice\PhpWord\Element\Table ' , $ nestedTable );
310
310
}
311
311
312
312
/**
You can’t perform that action at this time.
0 commit comments