Skip to content

Commit

Permalink
add nullable amount parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
repl6669 committed Feb 9, 2024
1 parent 40ce4cb commit 77f2ebb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StripePaymentAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function getType(): string
/**
* Create payment intent.
*/
public function createIntent(Cart $cart, array $meta = []): PaymentIntentContract
public function createIntent(Cart $cart, array $meta = [], ?int $amount = null): PaymentIntentContract
{
$cart = $this->updateCartMeta($cart, $meta);

Expand Down

0 comments on commit 77f2ebb

Please sign in to comment.