File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tests/PhpWordTests/Reader/Word2007 Expand file tree Collapse file tree 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
278278 }
279279
280280 /**
281- * Test reading of nested table
281+ * Test reading of nested table.
282282 */
283- public function testReadNestedTable ()
283+ public function testReadNestedTable (): void
284284 {
285285 $ documentXml = '<w:tbl>
286286 <w:tr>
@@ -299,14 +299,14 @@ public function testReadNestedTable()
299299 </w:tr>
300300 </w:tbl> ' ;
301301
302- $ phpWord = $ this ->getDocumentFromString (array ( 'document ' => $ documentXml) );
302+ $ phpWord = $ this ->getDocumentFromString ([ 'document ' => $ documentXml] );
303303
304304 $ section = $ phpWord ->getSection (0 );
305305 $ table = $ section ->getElement (0 );
306306 $ rows = $ table ->getRows ();
307307 $ cells = $ rows [0 ]->getCells ();
308308 $ nestedTable = $ cells [0 ]->getElement (0 );
309- $ this -> assertInstanceOf ('PhpOffice\PhpWord\Element\Table ' , $ nestedTable );
309+ self :: assertInstanceOf ('PhpOffice\PhpWord\Element\Table ' , $ nestedTable );
310310 }
311311
312312 /**
You can’t perform that action at this time.
0 commit comments