Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: codeclimate issues
Browse files Browse the repository at this point in the history
devaguia committed Mar 7, 2024
1 parent 1fb73fa commit cb233de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/routes/RoutesApi.php
Original file line number Diff line number Diff line change
@@ -68,9 +68,9 @@ public function createPlan($data)
public function renewCharge($charge_id)
{
$response = $this->api->request(sprintf(
'charges/%s/charge',
filter_var($charge_id, FILTER_SANITIZE_NUMBER_INT)
), 'POST', []);
'charges/%s/charge',
filter_var($charge_id, FILTER_SANITIZE_NUMBER_INT)
), 'POST', []);

return $response['charge'];
}

0 comments on commit cb233de

Please sign in to comment.