From 6ea66ac075995c4175e223d628fe68e68e189de5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaime=20Pe=CC=81rez=20Crespo?= <jaime.perez@uninett.no>
Date: Tue, 18 Jul 2017 11:50:15 +0200
Subject: [PATCH] Minor phpdoc fixes.

---
 lib/SimpleSAML/Locale/Language.php | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/lib/SimpleSAML/Locale/Language.php b/lib/SimpleSAML/Locale/Language.php
index 054557bd2..5972a74bc 100644
--- a/lib/SimpleSAML/Locale/Language.php
+++ b/lib/SimpleSAML/Locale/Language.php
@@ -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()
     {
@@ -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)
     {
@@ -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)
     {
-- 
GitLab