Return actual event data instead of self calling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
36624def94
commit
5891ec602f
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue