Skip to content

Commit 9d53687

Browse files
committed
Update README.md
Fix code
1 parent 74566e3 commit 9d53687

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@ $section->addText('I am simple paragraph', $fontStyle, $paragraphStyle);
210210
```php
211211
$textrun = $section->createTextRun();
212212
$textrun->addText('I am bold', array('bold' => true));
213-
$textrun->addText('I am italic, array('italic' => true));
214-
$textrun->addText('I am colored, array('color' => 'AACC00'));
213+
$textrun->addText('I am italic', array('italic' => true));
214+
$textrun->addText('I am colored', array('color' => 'AACC00'));
215215
```
216216

217217
<a name="text-attributes"></a>
@@ -298,4 +298,4 @@ $section->addImage(
298298
'wrappingStyle' => 'behind'
299299
)
300300
);
301-
```
301+
```

0 commit comments

Comments
 (0)