diff options
| author | 2021-05-08 10:27:18 +0200 | |
|---|---|---|
| committer | 2021-05-08 10:27:18 +0200 | |
| commit | 607f7e725487ce0eb0339b288ce9e58036dad4a0 (patch) | |
| tree | 5143afbcdcf15e22b70a93e1f4744cc85eea8517 /lib/Minz/Translate.php | |
| parent | 224b20edd16a6abd4879fe0e9e0f4c1608c9accf (diff) | |
Fix several comments syntaxes (#3615)
Mainly wrong `@return` types in comments
Diffstat (limited to 'lib/Minz/Translate.php')
| -rw-r--r-- | lib/Minz/Translate.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Minz/Translate.php b/lib/Minz/Translate.php index 3a08aba5c..61a52fc52 100644 --- a/lib/Minz/Translate.php +++ b/lib/Minz/Translate.php @@ -58,7 +58,7 @@ class Minz_Translate { /** * Return the list of available languages. - * @return an array containing langs found in different registered paths. + * @return array containing langs found in different registered paths. */ public static function availableLanguages() { $list_langs = array(); @@ -88,7 +88,7 @@ class Minz_Translate { * @param $user the connected user language (nullable) * @param $preferred an array of the preferred languages * @param $default the preferred language to use - * @return a string containing the language to use + * @return string containing the language to use */ public static function getLanguage($user, $preferred, $default) { if (null !== $user) { @@ -180,7 +180,7 @@ class Minz_Translate { * Translate a key into its corresponding value based on selected language. * @param $key the key to translate. * @param additional parameters for variable keys. - * @return the value corresponding to the key. + * @return string value corresponding to the key. * If no value is found, return the key itself. */ public static function t($key) { |
