diff --git a/lib/classes/I18NString.php b/lib/classes/I18NString.php
index eab42ff4cc670762fad633a968dee67e8f28c3a0..f877c58118d8d1e7ab3ab3e0d1f292269239f07d 100644
--- a/lib/classes/I18NString.php
+++ b/lib/classes/I18NString.php
@@ -202,8 +202,8 @@ class I18NString implements JsonSerializable
      * Sets the translation for the given language. If the given language is
      * the default language, sets the original.
      *
-     * @param type $text The translated or original value.
-     * @param type $lang The additional or default language.
+     * @param string $text The translated or original value.
+     * @param string $lang The additional or default language.
      * @return string The translated or original value.
      * @throws InvalidArgumentException
      */