diff --git a/lib/public/WorkflowEngine/GenericEntityEvent.php b/lib/public/WorkflowEngine/GenericEntityEvent.php
index d72093573bf8e5e1e806a0ca26b05b75119dcb95..f556eb93b225c55e5e213a780bd1885831bf7878 100644
--- a/lib/public/WorkflowEngine/GenericEntityEvent.php
+++ b/lib/public/WorkflowEngine/GenericEntityEvent.php
@@ -51,7 +51,7 @@ class GenericEntityEvent implements IEntityEvent {
 	 * @since 18.0.0
 	 */
 	public function getDisplayName(): string {
-		return $this->getDisplayName();
+		return $this->displayName;
 	}
 
 	/**
@@ -62,6 +62,6 @@ class GenericEntityEvent implements IEntityEvent {
 	 * @since 18.0.0
 	 */
 	public function getEventName(): string {
-		return $this->getEventName();
+		return $this->eventName;
 	}
 }