Security update for Core, with self-updated composer
[yaffs-website] / web / core / lib / Drupal / Core / Utility / Token.php
index 2a7fd4a753e88c69cf4d6e446d49b69ef3395006..a250d5892b183bbf33edf2ce2fb3894de97673a3 100644 (file)
@@ -155,7 +155,7 @@ class Token {
    *     array of token replacements after they are generated.
    *   - clear: A boolean flag indicating that tokens should be removed from the
    *     final text if no replacement value can be generated.
-   * @param \Drupal\Core\Render\BubbleableMetadata $bubbleable_metadata|null
+   * @param \Drupal\Core\Render\BubbleableMetadata|null $bubbleable_metadata
    *   (optional) An object to which static::generate() and the hooks and
    *   functions that it invokes will add their required bubbleable metadata.
    *
@@ -283,8 +283,8 @@ class Token {
    *     modules require special formatting of token text, for example URL
    *     encoding or truncation to a specific length.
    * @param \Drupal\Core\Render\BubbleableMetadata $bubbleable_metadata
-   *    The bubbleable metadata. This is passed to the token replacement
-   *    implementations so that they can attach their metadata.
+   *   The bubbleable metadata. This is passed to the token replacement
+   *   implementations so that they can attach their metadata.
    *
    * @return array
    *   An associative array of replacement values, keyed by the original 'raw'