From cf3a70a2134dcf6f3357fa0e57f266cd520d9fa7 Mon Sep 17 00:00:00 2001
From: Nathaniel Catchpole <catch@35733.no-reply.drupal.org>
Date: Fri, 11 Dec 2015 10:56:47 +0000
Subject: [PATCH] Revert "Issue #2625138 by Oleksiy, almaudoh:
 EntityRepository::loadEntityByUuid() implementation does not match
 EntityRepositoryInterface::loadEntityByUuid() @return documentation"

This reverts commit 8d6a091acba9a5838892de36da2cd55a9965d250.
---
 core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php b/core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php
index 39c8a8b01438..0946ee9495ee 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|false
-   *   The entity object, or FALSE if there is no entity with the given UUID.
+   * @return \Drupal\Core\Entity\EntityInterface|null
+   *   The entity object, or NULL 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.
-- 
GitLab