Skip to content

Commit 4ae2959

Browse files
committed
fix parameter type hint in phpdoc
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
1 parent ffc7631 commit 4ae2959

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/private/Mail/EMailTemplate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ public function addBodyButtonGroup(string $textLeft,
568568
*
569569
* @param string $text Text of button; Note: When $plainText falls back to this, HTML is automatically escaped in the HTML email
570570
* @param string $url URL of button
571-
* @param string $plainText Text of button in plain text version
571+
* @param string|false $plainText Text of button in plain text version
572572
* if empty the $text is used, if false none will be used
573573
*
574574
* @since 12.0.0

lib/public/Mail/IEMailTemplate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public function addBodyButtonGroup(string $textLeft, string $urlLeft, string $te
130130
*
131131
* @param string $text Text of button; Note: When $plainText falls back to this, HTML is automatically escaped in the HTML email
132132
* @param string $url URL of button
133-
* @param string $plainText Text of button in plain text version
133+
* @param string|false $plainText Text of button in plain text version
134134
* if empty the $text is used, if false none will be used
135135
*
136136
* @since 12.0.0

0 commit comments

Comments
 (0)