aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2015-01-23 22:53:19 +0100
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2015-01-23 22:53:19 +0100
commitc171499c978bd13e7860d7bd275316ff6265a14c (patch)
tree4b176a12ba668a638f3f0b454d02a3331033d60d /README.md
parent5523f0c3b3d7f01280de105b14383b3dc53df14c (diff)
downloadMail-c171499c978bd13e7860d7bd275316ff6265a14c.zip
Mail-c171499c978bd13e7860d7bd275316ff6265a14c.tar.gz
Mail-c171499c978bd13e7860d7bd275316ff6265a14c.tar.bz2
Remove from/import and update to PHP5.4.
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 6384e2e..7fd6935 100644
--- a/README.md
+++ b/README.md
@@ -77,7 +77,7 @@ content: either textual or HTML.
```php
$message->addContent(
new Hoa\Mail\Content\Alternative(
- array(
+ [
new Hoa\Mail\Content\Text(
'Check this out: http://hoa-project.net/!'
),
@@ -85,7 +85,7 @@ $message->addContent(
'<a href="http://hoa-project.net/">Check this ' .
'<strong>out</strong>!</a>'
)
- )
+ ]
)
);
```