diff --git a/wire/core/Interfaces.php b/wire/core/Interfaces.php index 3a76aebd..c084b335 100644 --- a/wire/core/Interfaces.php +++ b/wire/core/Interfaces.php @@ -519,7 +519,7 @@ interface LanguagesValueInterface { * Given a language, returns the value in that language * * @param Language|int - * @return int + * @return string|mixed * */ public function getLanguageValue($languageID); diff --git a/wire/modules/LanguageSupport/LanguagesPageFieldValue.php b/wire/modules/LanguageSupport/LanguagesPageFieldValue.php index b69ebd1a..722f2a1c 100644 --- a/wire/modules/LanguageSupport/LanguagesPageFieldValue.php +++ b/wire/modules/LanguageSupport/LanguagesPageFieldValue.php @@ -208,7 +208,7 @@ class LanguagesPageFieldValue extends Wire implements LanguagesValueInterface, \ * Given a language, returns the value in that language * * @param Language|int|string Language object, id, or name - * @return int + * @return string|mixed * */ public function getLanguageValue($languageID) {