diff --git a/core/lib/Drupal/Core/StringTranslation/Translator/StaticTranslation.php b/core/lib/Drupal/Core/StringTranslation/Translator/StaticTranslation.php
index 1b88a7a..cd8a9c5 100644
--- a/core/lib/Drupal/Core/StringTranslation/Translator/StaticTranslation.php
+++ b/core/lib/Drupal/Core/StringTranslation/Translator/StaticTranslation.php
@@ -55,10 +55,14 @@ public function reset() {
   }
 
   /**
-   * Add translations for new language.
+   * Retrieve translations by given language.
    *
    * @param string $langcode
    *   The langcode of the language.
+   *
+   * @return array
+   *   Returns array of translations indexed by language and context or an empty
+   *   array when no translations are available.
    */
   protected function getLanguage($langcode) {
     // This class is usually a base class but we do not declare as abstract
