diff --git a/core/lib/Drupal/Component/Render/FormattableMarkup.php b/core/lib/Drupal/Component/Render/FormattableMarkup.php index 0bb493a..9bc3dbb 100644 --- a/core/lib/Drupal/Component/Render/FormattableMarkup.php +++ b/core/lib/Drupal/Component/Render/FormattableMarkup.php @@ -121,7 +121,7 @@ public function jsonSerialize() { * using \Drupal\Component\Utility\Html::escape(). * A call like: * @code - * $this->placeholderFormat("Prefix @output_text", ['@output_text' => 'text output.']); + * $this->placeholderFormat('Prefix @output_text', ['@output_text' => 'text output.']); * @endcode * returns the following HTML string: * @code @@ -144,7 +144,7 @@ public function jsonSerialize() { * HTML attribute values. Doing so is a security risk. * A call like: * @code - * $this->placeholderFormat("Prefix %output_text", ['%output_text' => 'text output.']); + * $this->placeholderFormat('Prefix %output_text', ['%output_text' => 'text output.']); * @endcode * returns the following HTML string: * @code