Return actual event data instead of self calling

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2019-09-06 11:44:45 +02:00 committed by Arthur Schiwon
parent 36624def94
commit 5891ec602f
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}