Skip to content

Commit

Permalink
fix: wrong phpdoc return for cancelFor/cancelForId methods
Browse files Browse the repository at this point in the history
  • Loading branch information
mheiduk authored Oct 13, 2024
1 parent 0a26175 commit 0b2e4ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Endpoints/SubscriptionEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public function iteratorForId(string $customerId, ?string $from = null, ?int $li
* @param string $subscriptionId
* @param array $data
*
* @return null
* @return mixed
* @throws ApiException
*/
public function cancelFor(Customer $customer, $subscriptionId, array $data = [])
Expand All @@ -207,7 +207,7 @@ public function cancelFor(Customer $customer, $subscriptionId, array $data = [])
* @param string $subscriptionId
* @param array $data
*
* @return null
* @return mixed
* @throws ApiException
*/
public function cancelForId($customerId, $subscriptionId, array $data = [])
Expand Down

0 comments on commit 0b2e4ee

Please sign in to comment.