Skip to content

Commit

Permalink
Merge pull request #746 from mheiduk/fix/cancelFor-cancelForId-return…
Browse files Browse the repository at this point in the history
…-phpdoc

fix: wrong phpdoc return for cancelFor/cancelForId methods
  • Loading branch information
sandervanhooft authored Oct 30, 2024
2 parents 7eece56 + 53e0a83 commit 45e57bf
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 Subscription
* @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 Subscription
* @throws ApiException
*/
public function cancelForId($customerId, $subscriptionId, array $data = [])
Expand Down

0 comments on commit 45e57bf

Please sign in to comment.