aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/Mail/Message.php8
-rw-r--r--lib/public/Mail/IMessage.php8
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
*/