diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc index 35653b9..46f000e 100644 --- a/core/includes/bootstrap.inc +++ b/core/includes/bootstrap.inc @@ -305,8 +305,8 @@ function drupal_get_path($type, $name) { * belongs to. * * @return - * A new Markup object that, when cast to a string, will result in the - * translated string. + * A new TranslatableMarkup object that, when cast to a string, will result + * in the translated string. * * @see \Drupal\Component\Utility\SafeMarkup::format() * @ingroup sanitization diff --git a/core/lib/Drupal/Core/StringTranslation/TranslationInterface.php b/core/lib/Drupal/Core/StringTranslation/TranslationInterface.php index 26d3e28..36357a5 100644 --- a/core/lib/Drupal/Core/StringTranslation/TranslationInterface.php +++ b/core/lib/Drupal/Core/StringTranslation/TranslationInterface.php @@ -34,8 +34,8 @@ * - 'context': The context the source string belongs to. * * @return \Drupal\Core\StringTranslation\TranslatableMarkup - * A new Markup object that, when cast to a string, will result in the - * translated string. + * A new TranslatableMarkup object that, when cast to a string, will result + * in the translated string. * * @see \Drupal\Component\Utility\SafeMarkup::format() */