diff --git a/includes/activitypub/transformer/class-events-manager.php b/includes/activitypub/transformer/class-events-manager.php index 1735233..8fbd2f1 100644 --- a/includes/activitypub/transformer/class-events-manager.php +++ b/includes/activitypub/transformer/class-events-manager.php @@ -232,15 +232,4 @@ final class Events_Manager extends Event_Transformer { protected function get_name(): string { return $this->em_event->event_name; } - - /** - * Transform the WordPress Object into an ActivityPub Object. - * - * @return Activitypub\Activity\Event - */ - public function to_object(): Event { - $activitypub_object = parent::to_object(); - - return $activitypub_object; - } } diff --git a/includes/activitypub/transformer/class-gatherpress.php b/includes/activitypub/transformer/class-gatherpress.php index 8390d1b..db994ca 100644 --- a/includes/activitypub/transformer/class-gatherpress.php +++ b/includes/activitypub/transformer/class-gatherpress.php @@ -165,16 +165,4 @@ final class GatherPress extends Event { public function get_is_online(): bool { return $this->gp_event->maybe_get_online_event_link() ? true : false; } - - - /** - * Transform the WordPress Object into an ActivityPub Object. - * - * @return Activitypub\Activity\Event - */ - public function to_object(): Event_Object { - $activitypub_object = parent::to_object(); - - return $activitypub_object; - } } diff --git a/includes/activitypub/transformer/class-the-events-calendar.php b/includes/activitypub/transformer/class-the-events-calendar.php index eea12ac..0428c66 100644 --- a/includes/activitypub/transformer/class-the-events-calendar.php +++ b/includes/activitypub/transformer/class-the-events-calendar.php @@ -196,17 +196,4 @@ final class The_Events_Calendar extends Event { return $location; } - - /** - * Extend the default event transformers to_object function. - * - * This is the heart of the ActivityPub transformer. - * - * @return Event_Object - */ - public function to_object(): Event_Object { - $activitypub_object = parent::to_object(); - - return $activitypub_object; - } }