Skip to content

Commit 153b8f2

Browse files
authored
Merge pull request #253 from ThomasLandauer/patch-1
Update README.md: Minor: Adding const
2 parents f0ccec9 + 8f61064 commit 153b8f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ echo $message->getHeader('X-Foo'); // for custom or undocume
8989
$att = $message->getAttachmentPart(0); // first attachment
9090
echo $att->getHeaderValue(HeaderConsts::CONTENT_TYPE); // e.g. "text/plain"
9191
echo $att->getHeaderParameter( // value of "charset" part
92-
'content-type',
92+
HeaderConsts::CONTENT_TYPE,
9393
'charset'
9494
);
9595
echo $att->getContent(); // get the attached file's contents

0 commit comments

Comments
 (0)