aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Mail/IMessage.php8
1 files changed, 4 insertions, 4 deletions
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
*/