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()
|
public function testParseTableAndCellWidth()
|
||||||
{
|
{
|
||||||
$phpWord = new \PhpOffice\PhpWord\PhpWord();
|
$phpWord = new \PhpOffice\PhpWord\PhpWord();
|
||||||
$section = $phpWord->addSection([
|
$section = $phpWord->addSection(array(
|
||||||
'orientation' => \PhpOffice\PhpWord\Style\Section::ORIENTATION_LANDSCAPE,
|
'orientation' => \PhpOffice\PhpWord\Style\Section::ORIENTATION_LANDSCAPE,
|
||||||
]);
|
));
|
||||||
|
|
||||||
// borders & backgrounds are here just for better visual comparison
|
// borders & backgrounds are here just for better visual comparison
|
||||||
$html = <<<HTML
|
$html = <<<HTML
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue