From 7c9258eb1d8ce8e446e5076c72ee216c9917d66b Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Mon, 3 Jul 2023 19:25:49 +0200 Subject: [PATCH] consistent use of namespaces --- includes/rest/class-outbox.php | 2 +- includes/transformer/class-post.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/rest/class-outbox.php b/includes/rest/class-outbox.php index 91af46d..a8708e5 100644 --- a/includes/rest/class-outbox.php +++ b/includes/rest/class-outbox.php @@ -5,9 +5,9 @@ use stdClass; use WP_Error; use WP_REST_Server; use WP_REST_Response; -use Activitypub\Activity\Activity; use Activitypub\Collection\Users; use Activitypub\Transformer\Post; +use Activitypub\Activity\Activity; use function Activitypub\get_context; use function Activitypub\get_rest_url_by_path; diff --git a/includes/transformer/class-post.php b/includes/transformer/class-post.php index ca35949..88295c8 100644 --- a/includes/transformer/class-post.php +++ b/includes/transformer/class-post.php @@ -2,8 +2,8 @@ namespace Activitypub\Transformer; use WP_Post; -use \Activitypub\Activity\Base_Object; -use \Activitypub\Collection\Users; +use Activitypub\Collection\Users; +use Activitypub\Activity\Base_Object; use function Activitypub\get_rest_url_by_path;