Skip to content

Commit

Permalink
Update PaymentMethod.php
Browse files Browse the repository at this point in the history
Update the docstring to return `void`, since that is what the `deletePaymentMethod` function actually returns
  • Loading branch information
jwjenkin authored Nov 14, 2023
1 parent cd5f3f0 commit c877401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PaymentMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function __construct($owner, StripePaymentMethod $paymentMethod)
/**
* Delete the payment method.
*
* @return \Stripe\PaymentMethod
* @return void
*/
public function delete()
{
Expand Down

0 comments on commit c877401

Please sign in to comment.