diff --git a/core/modules/locale/src/LocaleConfigManager.php b/core/modules/locale/src/LocaleConfigManager.php index cee59b0..25949c8 100644 --- a/core/modules/locale/src/LocaleConfigManager.php +++ b/core/modules/locale/src/LocaleConfigManager.php @@ -191,7 +191,7 @@ protected function getTranslatableData(TypedDataInterface $element) { * The configuration name. * @param array $active * The active configuration data. - * @param array|\Drupal\Core\StringTranslation\TranslationWrapper $translatable + * @param array|\Drupal\Core\StringTranslation\TranslationWrapper[] $translatable * The translatable array structure. A nested array matching the exact * structure under of the default configuration for $name with only the * elements that are translatable wrapped into a TranslationWrapper. diff --git a/core/modules/locale/src/LocaleConfigSubscriber.php b/core/modules/locale/src/LocaleConfigSubscriber.php index dccd885..efe694e 100644 --- a/core/modules/locale/src/LocaleConfigSubscriber.php +++ b/core/modules/locale/src/LocaleConfigSubscriber.php @@ -133,9 +133,9 @@ protected function updateLocaleStorage(StorableConfigBase $config, $langcode, ar * The configuration name. * @param array $config * The active configuration data or override data. - * @param array|\Drupal\Core\StringTranslation\TranslationWrapper $translatable - * The translatable array structure, see - * LocaleConfigManager::getTranslatableData(). + * @param array|\Drupal\Core\StringTranslation\TranslationWrapper[] $translatable + * The translatable array structure. + * @see \Drupal\locale\LocaleConfigManager::getTranslatableData(). * @param string $langcode * The language code to process the array with. * @param array $reference_config