From ffb69c6b96132f70a2da09f7b8a11ca1ffaa46d8 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Tue, 9 Aug 2022 10:13:01 +0100
Subject: [PATCH] Issue #3285593 by immaculatexavier, Ashutosh Ahirwal,
 Rashmisoni, ravi.shankar, mrinalini9, joachim: @return of
 Section::getComponents should document array key

(cherry picked from commit f667b7d0efa0fccdbfdf2f85332e3bdd912191a9)
---
 core/modules/layout_builder/src/Section.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/modules/layout_builder/src/Section.php b/core/modules/layout_builder/src/Section.php
index 74cec166cb25..cd5d3aeda57c 100644
--- a/core/modules/layout_builder/src/Section.php
+++ b/core/modules/layout_builder/src/Section.php
@@ -167,7 +167,7 @@ public function getDefaultRegion() {
    * Returns the components of the section.
    *
    * @return \Drupal\layout_builder\SectionComponent[]
-   *   The components.
+   *   An array of components, keyed by the component UUID.
    */
   public function getComponents() {
     return $this->components;
-- 
GitLab