diff --git a/lib/public/Mail/IEMailTemplate.php b/lib/public/Mail/IEMailTemplate.php
index 8950f18e31cea..90d8ac1fe9713 100644
--- a/lib/public/Mail/IEMailTemplate.php
+++ b/lib/public/Mail/IEMailTemplate.php
@@ -140,10 +140,11 @@ public function addBodyButton(string $text, string $url, $plainText = '');
* Adds a logo and a text to the footer.
in the text will be replaced by new lines in the plain text email
*
* @param string $text If the text is empty the default "Name - Slogan
This is an automatically sent email" will be used
+ * @param string $lang Optional language to set the default footer in
*
* @since 12.0.0
*/
- public function addFooter(string $text = '');
+ public function addFooter(string $text = '', string $lang = null);
/**
* Returns the rendered email subject as string