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(); }