Skip to content
Snippets Groups Projects
Commit 6ea66ac0 authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo
Browse files

Minor phpdoc fixes.

parent 7930d600
No related branches found
No related tags found
No related merge requests found
...@@ -153,9 +153,9 @@ class Language ...@@ -153,9 +153,9 @@ class Language
/** /**
* Wash configured (available) languages against installed languages * Filter configured (available) languages against installed languages.
* *
* @return array The set of langauges both in 'language.available' and $this->language_names * @return array The set of languages both in 'language.available' and $this->language_names.
*/ */
private function getInstalledLanguages() private function getInstalledLanguages()
{ {
...@@ -172,10 +172,12 @@ class Language ...@@ -172,10 +172,12 @@ class Language
} }
/* /**
* Rename to non-idiosyncratic language code * Rename to non-idiosyncratic language code.
*
* @param string $language Language code for the language to rename, if necessary.
* *
* @param string $language Language code for the language to rename, if neccesary. * @return string The language code.
*/ */
public function getPosixLanguage($language) public function getPosixLanguage($language)
{ {
...@@ -327,9 +329,9 @@ class Language ...@@ -327,9 +329,9 @@ class Language
/** /**
* Return an alias for a langcode, if any * Return an alias for a language code, if any.
* *
* @return string The alias, or null if alias not found * @return string The alias, or null if the alias was not found.
*/ */
public function getLanguageCodeAlias($langcode) public function getLanguageCodeAlias($langcode)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment