Skip to content

Commit

Permalink
Make autoApproveClaims optional. (#67)
Browse files Browse the repository at this point in the history
* Make autoApproveClaims optional.
  • Loading branch information
ndeet authored Jul 28, 2022
1 parent 6bfa9de commit 155c182
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/payout_usage.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function markPayoutAsPaid()
echo "Error: " . $e->getMessage();
}
}

public function approvePayout()
{
$payoutId ='';
Expand Down
2 changes: 1 addition & 1 deletion src/Client/PullPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function createPullPayment(
string $currency,
?int $period,
?int $BOLT11Expiration,
bool $autoApproveClaims,
?bool $autoApproveClaims = false,
?int $startsAt,
?int $expiresAt,
array $paymentMethods
Expand Down

1 comment on commit 155c182

@09168806659
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

src/Client/PullPayment.php
examples/payout_usage.php

Please sign in to comment.