From 9d5368760719ef6770fa5ecb1ca46d9eb66c5fca Mon Sep 17 00:00:00 2001 From: wapmorgan Date: Thu, 20 Mar 2014 21:24:59 +0300 Subject: [PATCH] Update README.md Fix code --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d35603d0..5eb8d74c 100755 --- a/README.md +++ b/README.md @@ -210,8 +210,8 @@ $section->addText('I am simple paragraph', $fontStyle, $paragraphStyle); ```php $textrun = $section->createTextRun(); $textrun->addText('I am bold', array('bold' => true)); -$textrun->addText('I am italic, array('italic' => true)); -$textrun->addText('I am colored, array('color' => 'AACC00')); +$textrun->addText('I am italic', array('italic' => true)); +$textrun->addText('I am colored', array('color' => 'AACC00')); ``` @@ -298,4 +298,4 @@ $section->addImage( 'wrappingStyle' => 'behind' ) ); -``` \ No newline at end of file +```