From f3ebe898d433360cb350a63e28a7ae4a766c616e Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Willms <tleilax+studip@gmail.com> Date: Wed, 13 Nov 2024 15:18:43 +0000 Subject: [PATCH] fix type hints, fixes #4860 Closes #4860 Merge request studip/studip!3645 --- lib/classes/I18NString.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/classes/I18NString.php b/lib/classes/I18NString.php index eab42ff4cc6..f877c58118d 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 */ -- GitLab