From ec5133b739eabc76271789504b4dbb91a534f552 Mon Sep 17 00:00:00 2001 From: Côme Chilliet Date: Thu, 28 Mar 2024 16:13:19 +0100 Subject: fix: Apply new coding standard to all files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- lib/private/Mail/Message.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/Mail') diff --git a/lib/private/Mail/Message.php b/lib/private/Mail/Message.php index 15d4da793dd..81b0775cb15 100644 --- a/lib/private/Mail/Message.php +++ b/lib/private/Mail/Message.php @@ -73,7 +73,7 @@ class Message implements IMessage { * {@inheritDoc} * @since 26.0.0 */ - public function attachInline(string $body, string $name, string $contentType = null): IMessage { + public function attachInline(string $body, string $name, ?string $contentType = null): IMessage { # To be sure this works with iCalendar messages, we encode with 8bit instead of # quoted-printable encoding. We save the current encoder, replace the current # encoder with an 8bit encoder and after we've finished, we reset the encoder -- cgit v1.2.3