From 155c182d127df9b0729c0d626c9436faf55c43cf Mon Sep 17 00:00:00 2001 From: Andreas Tasch Date: Thu, 28 Jul 2022 14:17:48 +0200 Subject: [PATCH] Make autoApproveClaims optional. (#67) * Make autoApproveClaims optional. --- examples/payout_usage.php | 2 +- src/Client/PullPayment.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/payout_usage.php b/examples/payout_usage.php index d6d4dc2..d14ab46 100644 --- a/examples/payout_usage.php +++ b/examples/payout_usage.php @@ -110,7 +110,7 @@ public function markPayoutAsPaid() echo "Error: " . $e->getMessage(); } } - + public function approvePayout() { $payoutId =''; diff --git a/src/Client/PullPayment.php b/src/Client/PullPayment.php index a7b2406..4863f43 100644 --- a/src/Client/PullPayment.php +++ b/src/Client/PullPayment.php @@ -43,7 +43,7 @@ public function createPullPayment( string $currency, ?int $period, ?int $BOLT11Expiration, - bool $autoApproveClaims, + ?bool $autoApproveClaims = false, ?int $startsAt, ?int $expiresAt, array $paymentMethods