use php 5.3 array construct
This commit is contained in:
parent
34a1be0053
commit
743dbff9d4
@ -28,7 +28,7 @@ $textrun->addText('here:');
|
||||
|
||||
$indexEntryText = new TextRun();
|
||||
$indexEntryText->addText('My ');
|
||||
$indexEntryText->addText('bold index', ['bold' => true]);
|
||||
$indexEntryText->addText('bold index', array('bold' => true));
|
||||
$indexEntryText->addText(' entry');
|
||||
|
||||
$textrun = $section->addTextRun();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user