summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2021-08-24 17:43:21 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2021-09-10 13:18:23 +0200
commit5c4c162d0ddf71c5b39660fe79d2eeba9c1e9cb5 (patch)
tree46f56da5762e1c469b1307a10d8e9e1d38ccc3c0 /lib
parentc9c671a466148bf52dc61c6a536cce1fead015be (diff)
downloadnextcloud-server-5c4c162d0ddf71c5b39660fe79d2eeba9c1e9cb5.tar.gz
nextcloud-server-5c4c162d0ddf71c5b39660fe79d2eeba9c1e9cb5.zip
fix parameter type hint in phpdoc
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Mail/EMailTemplate.php2
-rw-r--r--lib/public/Mail/IEMailTemplate.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Mail/EMailTemplate.php b/lib/private/Mail/EMailTemplate.php
index efe1a6eef1d..a83f7787829 100644
--- a/lib/private/Mail/EMailTemplate.php
+++ b/lib/private/Mail/EMailTemplate.php
@@ -568,7 +568,7 @@ EOF;
*
* @param string $text Text of button; Note: When $plainText falls back to this, HTML is automatically escaped in the HTML email
* @param string $url URL of button
- * @param string $plainText Text of button in plain text version
+ * @param string|false $plainText Text of button in plain text version
* if empty the $text is used, if false none will be used
*
* @since 12.0.0
diff --git a/lib/public/Mail/IEMailTemplate.php b/lib/public/Mail/IEMailTemplate.php
index 39d6661b624..2d776549814 100644
--- a/lib/public/Mail/IEMailTemplate.php
+++ b/lib/public/Mail/IEMailTemplate.php
@@ -130,7 +130,7 @@ interface IEMailTemplate {
*
* @param string $text Text of button; Note: When $plainText falls back to this, HTML is automatically escaped in the HTML email
* @param string $url URL of button
- * @param string $plainText Text of button in plain text version
+ * @param string|false $plainText Text of button in plain text version
* if empty the $text is used, if false none will be used
*
* @since 12.0.0