diff --git a/core/modules/user/src/EntityOwnerInterface.php b/core/modules/user/src/EntityOwnerInterface.php
index 38a4e91..44f26c6 100644
--- a/core/modules/user/src/EntityOwnerInterface.php
+++ b/core/modules/user/src/EntityOwnerInterface.php
@@ -38,7 +38,7 @@ public function setOwner(UserInterface $account);
   /**
    * Returns the entity owner's user ID.
    *
-   * @return int
+   * @return int|null
    *   The owner user ID.
    */
   public function getOwnerId();
