From 65e938c4fdbda3c88e79c83e43e7ea8a22789408 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 19 Oct 2017 11:18:21 +0200 Subject: Fix docs Signed-off-by: Joas Schilling --- lib/private/Mail/Message.php | 8 ++++---- lib/public/Mail/IMessage.php | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/private/Mail/Message.php b/lib/private/Mail/Message.php index 7b198e91b36..fb16c59c51e 100644 --- a/lib/private/Mail/Message.php +++ b/lib/private/Mail/Message.php @@ -45,9 +45,9 @@ class Message implements IMessage { } /** - * @param string $data - * @param string $filename - * @param string $contentType + * @param string|null $data + * @param string|null $filename + * @param string|null $contentType * @return IAttachment * @since 13.0.0 */ @@ -57,7 +57,7 @@ class Message implements IMessage { /** * @param string $path - * @param string $contentType + * @param string|null $contentType * @return IAttachment * @since 13.0.0 */ diff --git a/lib/public/Mail/IMessage.php b/lib/public/Mail/IMessage.php index 6ae50ca8842..45c01b7079f 100644 --- a/lib/public/Mail/IMessage.php +++ b/lib/public/Mail/IMessage.php @@ -30,9 +30,9 @@ namespace OCP\Mail; interface IMessage { /** - * @param string $data - * @param string $filename - * @param string $contentType + * @param string|null $data + * @param string|null $filename + * @param string|null $contentType * @return IAttachment * @since 13.0.0 */ @@ -40,7 +40,7 @@ interface IMessage { /** * @param string $path - * @param string $contentType + * @param string|null $contentType * @return IAttachment * @since 13.0.0 */ -- cgit v1.2.3