fix return type of get_name for Events Manager transformer
All checks were successful
All checks were successful
This commit is contained in:
parent
8391b1dbc2
commit
61eaa01fc6
1 changed files with 3 additions and 1 deletions
|
@ -254,8 +254,10 @@ final class Events_Manager extends Event_Transformer {
|
|||
|
||||
/**
|
||||
* Get the events title/name.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected function get_name() {
|
||||
protected function get_name(): string {
|
||||
return $this->em_event->event_name;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue