From ea7a3d193d985b101ce808c5311ba7e3cd16e0ee Mon Sep 17 00:00:00 2001 From: Glauber Silva Date: Fri, 20 Sep 2024 17:46:22 -0300 Subject: [PATCH] refactor: remove trait import --- src/Campaigns/Routes/PublishCampaign.php | 2 -- src/Campaigns/Routes/UpdateCampaign.php | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/Campaigns/Routes/PublishCampaign.php b/src/Campaigns/Routes/PublishCampaign.php index 9cc6edaf14..026c4c1e82 100644 --- a/src/Campaigns/Routes/PublishCampaign.php +++ b/src/Campaigns/Routes/PublishCampaign.php @@ -5,7 +5,6 @@ use Exception; use Give\API\RestRoute; use Give\Campaigns\Models\Campaign; -use Give\Campaigns\Routes\Traits\RestResponses; use Give\Campaigns\ValueObjects\CampaignStatus; use WP_REST_Request; use WP_REST_Response; @@ -16,7 +15,6 @@ */ class PublishCampaign implements RestRoute { - use RestResponses; /** @var string */ protected $endpoint = 'campaigns/(?P[0-9]+)/publish'; diff --git a/src/Campaigns/Routes/UpdateCampaign.php b/src/Campaigns/Routes/UpdateCampaign.php index 0a4a69fac7..b4b163b470 100644 --- a/src/Campaigns/Routes/UpdateCampaign.php +++ b/src/Campaigns/Routes/UpdateCampaign.php @@ -5,7 +5,6 @@ use Exception; use Give\API\RestRoute; use Give\Campaigns\Models\Campaign; -use Give\Campaigns\Routes\Traits\RestResponses; use WP_REST_Request; use WP_REST_Response; use WP_REST_Server; @@ -15,7 +14,6 @@ */ class UpdateCampaign implements RestRoute { - use RestResponses; /** @var string */ protected $endpoint = 'campaigns/(?P[0-9]+)';