diff --git a/lib/SimpleSAML/Locale/Translate.php b/lib/SimpleSAML/Locale/Translate.php
index e2d2fe7d2f2e772e99e1dd4d1e57124162c3e6db..0fad76cac9ec5595f07f9a96c127a14851beead0 100644
--- a/lib/SimpleSAML/Locale/Translate.php
+++ b/lib/SimpleSAML/Locale/Translate.php
@@ -254,8 +254,8 @@ class Translate
      * used ONLY for variable data, or when the translation is already provided by an external source, as a database
      * or in metadata.
      *
-     * @param string       $tag The tag that has a translation
-     * @param array|string $translation The translation array
+     * @param string $tag The tag that has a translation
+     * @param mixed  $translation The translation array
      *
      * @throws \Exception If $translation is neither a string nor an array.
      * @return void