Skip to content

Commit

Permalink
Corrected misspelled method name
Browse files Browse the repository at this point in the history
The method removeWithSubscriptions does not exist. The actual name is setRemoveWithSubscriptions.
  • Loading branch information
pm-alexander-serbe committed Mar 21, 2016
1 parent f9ef2b6 commit 768f196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/offers/remove_offer.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$offer = new Paymill\Models\Request\Offer();
$offer->setId('offer_40237e20a7d5a231d99b')
->removeWithSubscriptions(true);
->setRemoveWithSubscriptions(true);

$response = $request->delete($offer)

0 comments on commit 768f196

Please sign in to comment.