diff --git a/core/lib/Drupal/Component/Render/FormattableMarkup.php b/core/lib/Drupal/Component/Render/FormattableMarkup.php index 6797b970fd4..6e98928dfb7 100644 --- a/core/lib/Drupal/Component/Render/FormattableMarkup.php +++ b/core/lib/Drupal/Component/Render/FormattableMarkup.php @@ -147,7 +147,7 @@ class FormattableMarkup implements MarkupInterface, \Countable { * A call like: * @code * $string = "%output_text"; - * $arguments = ['output_text' => 'text output here.']; + * $arguments = ['%output_text' => 'text output here.']; * $this->placeholderFormat($string, $arguments); * @endcode * makes the following HTML code: