summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJennifer Hodgdon2015-12-08 17:56:36 (GMT)
committerJennifer Hodgdon2015-12-08 17:56:38 (GMT)
commita172ab5b722fd85d313b6f5aa9ab3f0848f4b6a8 (patch)
tree6c5e8358c4b64f901e4a8c3ebdcfec73c8611897
parent5212d2d089c1094a89a6182c12caccb25dc35641 (diff)
Issue #2625138 by Oleksiy, almaudoh: EntityRepository::loadEntityByUuid() implementation does not match EntityRepositoryInterface::loadEntityByUuid() @return documentation
(cherry picked from commit 8d6a091acba9a5838892de36da2cd55a9965d250)
-rw-r--r--core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php b/core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php
index 0946ee9..39c8a8b 100644
--- a/core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php
+++ b/core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php
@@ -22,8 +22,8 @@ interface EntityRepositoryInterface {
* @param string $uuid
* The UUID of the entity to load.
*
- * @return \Drupal\Core\Entity\EntityInterface|null
- * The entity object, or NULL if there is no entity with the given UUID.
+ * @return \Drupal\Core\Entity\EntityInterface|false
+ * The entity object, or FALSE if there is no entity with the given UUID.
*
* @throws \Drupal\Core\Entity\EntityStorageException
* Thrown in case the requested entity type does not support UUIDs.