diff --git a/core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php b/core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php
index a619d95..03d5802 100644
--- a/core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php
+++ b/core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php
@@ -116,8 +116,9 @@ public function elementWrapperClasses($row_index = NULL);
    * @param \Drupal\views\ResultRow $values
    *   An object containing all retrieved values.
    *
-   * @return \Drupal\Core\Entity\EntityInterface
-   *   Returns the entity matching the values.
+   * @return null|\Drupal\Core\Entity\EntityInterface
+   *   Returns the entity matching the values or NULL if there is no matching
+   *   entity.
    */
   public function getEntity(ResultRow $values);
 
