summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-10-19 11:18:21 +0200
committerJoas Schilling <coding@schilljs.com>2017-10-19 11:18:21 +0200
commit65e938c4fdbda3c88e79c83e43e7ea8a22789408 (patch)
treed842adf01f5dd2e43042bc09e87d45bdcd49a78f
parentdcb322a6b330b7bd797f8a9faf63114129c56f75 (diff)
downloadnextcloud-server-65e938c4fdbda3c88e79c83e43e7ea8a22789408.tar.gz
nextcloud-server-65e938c4fdbda3c88e79c83e43e7ea8a22789408.zip
Fix docs
Signed-off-by: Joas Schilling <coding@schilljs.com>
-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
*/