diff --git a/modules/contrib/user_history/src/Entity/UserHistory.php b/docroot/modules/contrib/user_history/src/Entity/UserHistory.php
index 720c20064..880a75758 100644
--- a/modules/contrib/user_history/src/Entity/UserHistory.php
+++ b/modules/contrib/user_history/src/Entity/UserHistory.php
@@ -269,7 +269,7 @@ public function getUserMail() {
    * @return \Drupal\user_history\Entity\UserHistoryInterface
    *   The called user_history entity.
    */
-  public function setUserMail(string $mail) {
+  public function setUserMail(string $mail = NULL) {
     $this->set('user_mail', $mail);
     return $this;
   }
@@ -293,7 +293,7 @@ public function getUserTimezone() {
    * @return \Drupal\user_history\Entity\UserHistoryInterface
    *   The called user_history entity.
    */
-  public function setUserTimezone(string $timezone) {
+  public function setUserTimezone(string $timezone = NULL) {
     $this->set('user_timezone', $timezone);
     return $this;
   }
@@ -461,7 +461,7 @@ public function getUserInit() {
    * @return \Drupal\user_history\Entity\UserHistoryInterface
    *   The called user_history entity.
    */
-  public function setUserInit(string $mail) {
+  public function setUserInit(string $mail = NULL) {
     $this->set('user_init', $mail);
     return $this;
   }
