From 9580015defe7ee84d5c081e672df549643a035d3 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Tue, 24 Aug 2021 17:43:21 +0200 Subject: [PATCH] fix parameter type hint in phpdoc Signed-off-by: Arthur Schiwon --- lib/private/Mail/EMailTemplate.php | 2 +- lib/public/Mail/IEMailTemplate.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/private/Mail/EMailTemplate.php b/lib/private/Mail/EMailTemplate.php index efe1a6eef1d63..a83f7787829c5 100644 --- a/lib/private/Mail/EMailTemplate.php +++ b/lib/private/Mail/EMailTemplate.php @@ -568,7 +568,7 @@ public function addBodyButtonGroup(string $textLeft, * * @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 39d6661b62421..2d7765498148f 100644 --- a/lib/public/Mail/IEMailTemplate.php +++ b/lib/public/Mail/IEMailTemplate.php @@ -130,7 +130,7 @@ public function addBodyButtonGroup(string $textLeft, string $urlLeft, string $te * * @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