diff --git a/includes/activitypub/collection/class-event-sources.php b/includes/activitypub/collection/class-event-sources.php index 24a2a74..fec6daf 100644 --- a/includes/activitypub/collection/class-event-sources.php +++ b/includes/activitypub/collection/class-event-sources.php @@ -178,7 +178,7 @@ class Event_Sources { * * @param string $actor The Actor URL. * - * @return WP_Post|false|null Post data on success, false or null on failure. + * @return WP_Post|false|null Post data on success, false or null on failure. */ public static function remove_event_source( $actor ) { $post_id = Event_Source::get_wp_post_from_activitypub_actor_id( $actor ); diff --git a/includes/activitypub/transmogrifier/class-gatherpress.php b/includes/activitypub/transmogrifier/class-gatherpress.php index a0d0db4..c7af620 100644 --- a/includes/activitypub/transmogrifier/class-gatherpress.php +++ b/includes/activitypub/transmogrifier/class-gatherpress.php @@ -349,7 +349,7 @@ class GatherPress { $address = (array) $address; } - if ( ! is_array( $address ) || ! isset( $address['type'] ) ){ + if ( ! is_array( $address ) || ! isset( $address['type'] ) ) { return ''; } diff --git a/includes/class-setup.php b/includes/class-setup.php index 3a34351..84b69e9 100644 --- a/includes/class-setup.php +++ b/includes/class-setup.php @@ -30,7 +30,7 @@ require_once ABSPATH . 'wp-admin/includes/plugin.php'; /** * Class Setup. - * + * This class is responsible for initializing Event Bridge for ActivityPub. * * @since 1.0.0