From 5fa3876c1af63a0967d56f515ae1a77ccdcc84dd Mon Sep 17 00:00:00 2001 From: ruru4143 Date: Sun, 29 Sep 2024 15:32:50 +0200 Subject: [PATCH] added comment on bloguser --- includes/activitypub/transformer/class-event.php | 2 +- includes/activitypub/transformer/class-gatherpress.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/activitypub/transformer/class-event.php b/includes/activitypub/transformer/class-event.php index bb35915..babd4ee 100644 --- a/includes/activitypub/transformer/class-event.php +++ b/includes/activitypub/transformer/class-event.php @@ -176,7 +176,7 @@ abstract class Event extends Post { /** * Compose a human readable formatted time. * - * @param ?string $time The time which needs to be formatted + * @param ?string $time The time which needs to be formatted. */ private static function format_time( $time ) { if ( is_null( $time ) ) { diff --git a/includes/activitypub/transformer/class-gatherpress.php b/includes/activitypub/transformer/class-gatherpress.php index e8c24d8..39292fd 100644 --- a/includes/activitypub/transformer/class-gatherpress.php +++ b/includes/activitypub/transformer/class-gatherpress.php @@ -125,7 +125,7 @@ final class GatherPress extends Event { * @return string The User-URL. */ protected function get_attributed_to(): string { - $user = new Blog(); + $user = new Blog(); // todo is this correct? feels not right. return $user->get_url(); }