Skip to content

Commit 743dbff

Browse files
committed
use php 5.3 array construct
1 parent 34a1be0 commit 743dbff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/Sample_27_Field.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
$indexEntryText = new TextRun();
3030
$indexEntryText->addText('My ');
31-
$indexEntryText->addText('bold index', ['bold' => true]);
31+
$indexEntryText->addText('bold index', array('bold' => true));
3232
$indexEntryText->addText(' entry');
3333

3434
$textrun = $section->addTextRun();

0 commit comments

Comments
 (0)