Skip to content

Commit

Permalink
refactor: remove trait import
Browse files Browse the repository at this point in the history
  • Loading branch information
glaubersilva committed Sep 20, 2024
1 parent 7f64906 commit ea7a3d1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/Campaigns/Routes/PublishCampaign.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -16,7 +15,6 @@
*/
class PublishCampaign implements RestRoute
{
use RestResponses;

/** @var string */
protected $endpoint = 'campaigns/(?P<id>[0-9]+)/publish';
Expand Down
2 changes: 0 additions & 2 deletions src/Campaigns/Routes/UpdateCampaign.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -15,7 +14,6 @@
*/
class UpdateCampaign implements RestRoute
{
use RestResponses;

/** @var string */
protected $endpoint = 'campaigns/(?P<id>[0-9]+)';
Expand Down

0 comments on commit ea7a3d1

Please sign in to comment.