diff --git a/src/Entity/SymfonyMailerLog.php b/src/Entity/SymfonyMailerLog.php
index ced22bccfc0a760218836fe2aedbfd5feb4c6944..f5a5d16a18e3379d2e4eb239b972559ef761b19f 100644
--- a/src/Entity/SymfonyMailerLog.php
+++ b/src/Entity/SymfonyMailerLog.php
@@ -161,6 +161,20 @@ class SymfonyMailerLog extends ContentEntityBase implements SymfonyMailerLogInte
     return $this;
   }
 
+  /**
+   * {@inheritdoc}
+   */
+  public function getErrorMessage(): ?string {
+    return $this->get('error_message');
+  }
+
+  /**
+   * {@inheritdoc}
+   */
+  public function setErrorMessage(string $errorMessage) {
+    $this->set('error_message', $errorMessage);
+  }
+
   /**
    * {@inheritdoc}
    */
@@ -298,18 +312,4 @@ class SymfonyMailerLog extends ContentEntityBase implements SymfonyMailerLogInte
     return $fields;
   }
 
-  /**
-   * {@inheritdoc}
-   */
-  public function getErrorMessage(): string|null {
-    return $this->get('error_message');
-  }
-
-  /**
-   * {@inheritdoc}
-   */
-  public function setErrorMessage(string $errorMessage) {
-    $this->set('error_message', $errorMessage);
-  }
-
 }