From 9f45ca3194c59ba5a3c0950b43f1a8573709cfb9 Mon Sep 17 00:00:00 2001
From: quietone <quietone@2572884.no-reply.drupal.org>
Date: Wed, 5 Jul 2023 14:10:23 +1200
Subject: [PATCH] Issue #3368664 by rpayanm, _pratik_, keelanfh, cilefen,
 longwave, smustgrave: Fix spelling of $add_ellipses is comment

---
 core/lib/Drupal/Component/Utility/Unicode.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/lib/Drupal/Component/Utility/Unicode.php b/core/lib/Drupal/Component/Utility/Unicode.php
index 6a61a4510369..bbb37a811e3c 100644
--- a/core/lib/Drupal/Component/Utility/Unicode.php
+++ b/core/lib/Drupal/Component/Utility/Unicode.php
@@ -297,7 +297,7 @@ public static function ucwords($text) {
    *   you had set $min_wordsafe_length to 10, though, the function would realise
    *   that "See" alone is too short, and would then just truncate ignoring word
    *   boundaries, giving you "See myverylongurl..." (assuming you had set
-   *   $add_ellipses to TRUE).
+   *   $add_ellipsis to TRUE).
    *
    * @return string
    *   The truncated string.
-- 
GitLab