From 2a68e8f22c4436fda06f0b821dc01a4b2840f269 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Thu, 30 Dec 2021 21:11:08 +0000
Subject: [PATCH] Issue #3251835 by beatrizrodrigues, joachim, mikelutz,
 quietone: Fix incorrect @return docs and description for Row::getSource()

---
 core/modules/migrate/src/Row.php | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/core/modules/migrate/src/Row.php b/core/modules/migrate/src/Row.php
index 6b6f1ad9d04b..3d961902bcde 100644
--- a/core/modules/migrate/src/Row.php
+++ b/core/modules/migrate/src/Row.php
@@ -157,10 +157,11 @@ public function getSourceProperty($property) {
   }
 
   /**
-   * Returns the whole source array.
+   * Retrieves all source properties.
    *
    * @return array
-   *   An array of source plugins.
+   *   An array containing all source property values, keyed by the property
+   *   name.
    */
   public function getSource() {
     return $this->source;
-- 
GitLab