From 5891ec602f45cebd7d991814c2ca57929f9085ed Mon Sep 17 00:00:00 2001
From: Julius Härtl <jus@bitgrid.net>
Date: Fri, 6 Sep 2019 11:44:45 +0200
Subject: Return actual event data instead of self calling
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Julius Härtl <jus@bitgrid.net>
---
 lib/public/WorkflowEngine/GenericEntityEvent.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'lib/public/WorkflowEngine')

diff --git a/lib/public/WorkflowEngine/GenericEntityEvent.php b/lib/public/WorkflowEngine/GenericEntityEvent.php
index d72093573bf..f556eb93b22 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;
 	}
 }
-- 
cgit v1.2.3