Commit fd6f9cb7 authored by alexpott's avatar alexpott

Issue #2585781 by anil280988, Davinder.Snehi, sdstyles, lucian.gutoiu, Chi,...

Issue #2585781 by anil280988, Davinder.Snehi, sdstyles, lucian.gutoiu, Chi, jhodgdon, GoZ, YesCT: Wrong documentation of t()
parent 921cf91a
...@@ -304,8 +304,8 @@ function drupal_get_path($type, $name) { ...@@ -304,8 +304,8 @@ function drupal_get_path($type, $name) {
* - 'context' (defaults to the empty context): The context the source string * - 'context' (defaults to the empty context): The context the source string
* belongs to. * belongs to.
* *
* @return * @return \Drupal\Core\StringTranslation\TranslatableMarkup
* The translated string. * An object that, when cast to a string, will yield the translated string.
* *
* @see \Drupal\Component\Utility\SafeMarkup::format() * @see \Drupal\Component\Utility\SafeMarkup::format()
* @ingroup sanitization * @ingroup sanitization
......
...@@ -34,7 +34,7 @@ interface TranslationInterface { ...@@ -34,7 +34,7 @@ interface TranslationInterface {
* - 'context': The context the source string belongs to. * - 'context': The context the source string belongs to.
* *
* @return \Drupal\Core\StringTranslation\TranslatableMarkup * @return \Drupal\Core\StringTranslation\TranslatableMarkup
* The translated string. * An object that, when cast to a string, will yield the translated string.
* *
* @see \Drupal\Component\Utility\SafeMarkup::format() * @see \Drupal\Component\Utility\SafeMarkup::format()
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment