summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2018-06-14 14:18:41 (GMT)
committerAlex Pott2018-06-14 14:18:41 (GMT)
commit845da7492b09c4fd7daf5954df3da6c64d4777cb (patch)
tree3f47707aefc19e26a742d5cefe8fc0a0c84297cd
parentb98cdcad61d46fce8e31b3a39fde128da40f9f62 (diff)
Issue #2975751 by msankhala, leolando.tan, joachim, claudiu.cristea: incorrect @return for Tables::getTableMapping()
-rw-r--r--core/lib/Drupal/Core/Entity/Query/Sql/Tables.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/lib/Drupal/Core/Entity/Query/Sql/Tables.php b/core/lib/Drupal/Core/Entity/Query/Sql/Tables.php
index 6d26042..a9ff4b1 100644
--- a/core/lib/Drupal/Core/Entity/Query/Sql/Tables.php
+++ b/core/lib/Drupal/Core/Entity/Query/Sql/Tables.php
@@ -409,8 +409,10 @@ class Tables implements TablesInterface {
* @param string $table
* The table name.
*
- * @return array|bool
- * The table field mapping for the given table or FALSE if not available.
+ * @return array|false
+ * An associative array of table field mapping for the given table, keyed by
+ * columns name and values are just incrementing integers. If the table
+ * mapping is not available, FALSE is returned.
*/
protected function getTableMapping($table, $entity_type_id) {
$storage = $this->entityManager->getStorage($entity_type_id);