From 8f61064326505413f8aa62834e7e5f00430cb33b Mon Sep 17 00:00:00 2001 From: Thomas Landauer Date: Thu, 6 Feb 2025 15:51:51 +0100 Subject: [PATCH] Update README.md: Minor: Adding const --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fa49967c..1298025f 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ echo $message->getHeader('X-Foo'); // for custom or undocume $att = $message->getAttachmentPart(0); // first attachment echo $att->getHeaderValue(HeaderConsts::CONTENT_TYPE); // e.g. "text/plain" echo $att->getHeaderParameter( // value of "charset" part - 'content-type', + HeaderConsts::CONTENT_TYPE, 'charset' ); echo $att->getContent(); // get the attached file's contents