From a172ab5b722fd85d313b6f5aa9ab3f0848f4b6a8 Mon Sep 17 00:00:00 2001
From: Jennifer Hodgdon <yahgrp@poplarware.com>
Date: Tue, 8 Dec 2015 09:56:36 -0800
Subject: [PATCH] Issue #2625138 by Oleksiy, almaudoh:
 EntityRepository::loadEntityByUuid() implementation does not match
 EntityRepositoryInterface::loadEntityByUuid() @return documentation

(cherry picked from 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 0946ee9495ee..39c8a8b01438 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.
-- 
GitLab