summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/common.inc3
-rw-r--r--includes/entity.inc3
-rw-r--r--modules/taxonomy/taxonomy.module3
3 files changed, 6 insertions, 3 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 0e8edeaa6..c0f2351c3 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -7436,7 +7436,8 @@ function entity_create_stub_entity($entity_type, $ids) {
* Whether to reset the internal cache for the requested entity type.
*
* @return
- * An array of entity objects indexed by their ids.
+ * An array of entity objects indexed by their ids. When no results are
+ * found, an empty array is returned.
*
* @todo Remove $conditions in Drupal 8.
*/
diff --git a/includes/entity.inc b/includes/entity.inc
index a3cdf7417..aaa39d871 100644
--- a/includes/entity.inc
+++ b/includes/entity.inc
@@ -39,7 +39,8 @@ interface DrupalEntityControllerInterface {
* An array of conditions in the form 'field' => $value.
*
* @return
- * An array of entity objects indexed by their ids.
+ * An array of entity objects indexed by their ids. When no results are
+ * found, an empty array is returned.
*/
public function load($ids = array(), $conditions = array());
}
diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module
index 50d2fd608..c171c0692 100644
--- a/modules/taxonomy/taxonomy.module
+++ b/modules/taxonomy/taxonomy.module
@@ -1092,7 +1092,8 @@ class TaxonomyVocabularyController extends DrupalDefaultEntityController {
* this function.
*
* @return
- * An array of term objects, indexed by tid.
+ * An array of term objects, indexed by tid. When no results are found, an
+ * empty array is returned.
*
* @todo Remove $conditions in Drupal 8.
*/