diff -u b/core/lib/Drupal/Core/Language/LanguageDefault.php b/core/lib/Drupal/Core/Language/LanguageDefault.php --- b/core/lib/Drupal/Core/Language/LanguageDefault.php +++ b/core/lib/Drupal/Core/Language/LanguageDefault.php @@ -29,11 +29,11 @@ /** * Constructs the default language object. * - * @param array $options + * @param array $values * The properties used to construct the default language. */ - public function __construct(array $options) { - $this->set(new Language($options)); + public function __construct(array $values) { + $this->set(new Language($values)); } /** diff -u b/core/lib/Drupal/Core/Language/LanguageManagerInterface.php b/core/lib/Drupal/Core/Language/LanguageManagerInterface.php --- b/core/lib/Drupal/Core/Language/LanguageManagerInterface.php +++ b/core/lib/Drupal/Core/Language/LanguageManagerInterface.php @@ -80,8 +80,8 @@ * Returns a list of languages set up on the site. * * @param int $flags - * (optional) Specifies the state of the languages that have to be - * returned. It can be: Language::STATE_CONFIGURABLE, + * (optional) Specifies the state of the languages that have to be returned. + * It can be: Language::STATE_CONFIGURABLE, * Language::STATE_LOCKED, Language::STATE_ALL. * * @return array