From c731970df9baace7715a1fcdc27f3420fd18f05b Mon Sep 17 00:00:00 2001
From: catch <catch@35733.no-reply.drupal.org>
Date: Mon, 28 Nov 2022 10:26:17 +0000
Subject: [PATCH] Issue #3323855 by benjifisher: Improve class comment for
 Drupal\Core\Menu\MenuLinkTreeElement

---
 core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php b/core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php
index f58dd913b246..1c7af4b99262 100644
--- a/core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php
+++ b/core/lib/Drupal/Core/Menu/MenuLinkTreeElement.php
@@ -5,13 +5,13 @@
 /**
  * Provides a value object to model an element in a menu link tree.
  *
- * \Drupal\Core\Menu\MenuLinkTreeElement objects represent a menu link's data.
- * Objects of this class provide complimentary data: the placement in a tree.
+ * \Drupal\Core\Menu\MenuLinkInterface objects represent a menu link's data.
+ * Objects of this class provide complementary data: the placement in a tree.
  * Therefore, we can summarize this split as follows:
  * - Menu link objects contain all information about an individual menu link,
  *   plus what their parent is. But they don't know where exactly in a menu link
  *   tree they live.
- * - Instances of this class are complimentary to those objects, they know:
+ * - Instances of this class are complementary to those objects, they know:
  *   - All additional metadata from {menu_tree}, which contains "materialized"
  *     metadata about a menu link tree, such as whether a link in the tree has
  *     visible children and the depth relative to the root.
-- 
GitLab