Skip to content

Commit 8e0285d

Browse files
Luke LanchesterPowerKiKi
Luke Lanchester
authored andcommitted
Add required CS fixes
1 parent fda4498 commit 8e0285d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/PhpWordTests/Reader/Word2007/ElementTest.php

+4-4
Original file line numberDiff line numberDiff 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
/**

0 commit comments

Comments
 (0)