diff --git a/lib/l10n.php b/lib/l10n.php index cd1d53bce0..0421e4eba8 100644 --- a/lib/l10n.php +++ b/lib/l10n.php @@ -137,15 +137,15 @@ class OC_L10N{ } } - /** - * @brief Translating - * @param $text The text we need a translation for - * @param $parameters default:array() Parameters for sprintf - * @returns Translation or the same text - * - * Returns the translation. If no translation is found, $text will be - * returned. - */ + /** + * @brief Translating + * @param $text String The text we need a translation for + * @param array|\default $parameters default:array() Parameters for sprintf + * @return \OC_L10N_String Translation or the same text + * + * Returns the translation. If no translation is found, $text will be + * returned. + */ public function t($text, $parameters = array()){ return new OC_L10N_String($this, $text, $parameters); }