Make syntax php 5.3 compliant
This commit is contained in:
parent
f832a7c9db
commit
e1bbc85cc4
|
|
@ -639,9 +639,9 @@ class HtmlTest extends AbstractWebServerEmbeddedTest
|
|||
public function testParseTableAndCellWidth()
|
||||
{
|
||||
$phpWord = new \PhpOffice\PhpWord\PhpWord();
|
||||
$section = $phpWord->addSection([
|
||||
$section = $phpWord->addSection(array(
|
||||
'orientation' => \PhpOffice\PhpWord\Style\Section::ORIENTATION_LANDSCAPE,
|
||||
]);
|
||||
));
|
||||
|
||||
// borders & backgrounds are here just for better visual comparison
|
||||
$html = <<<HTML
|
||||
|
|
|
|||
Loading…
Reference in New Issue