Skip to content

Commit

Permalink
Merge pull request #17 from oleg-kolzhanov/main
Browse files Browse the repository at this point in the history
  • Loading branch information
ExpDev07 authored Jan 24, 2022
2 parents 376974f + c0a1dea commit 2c1430c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Billable.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function stripeAccountOptions(array $options = [], bool $sendAsAccount =
}

// Workaround for Cashier 12.x
if (version_compare(Cashier::VERSION, '12.15.0', '<=') {
if (version_compare(Cashier::VERSION, '12.15.0', '<=')) {
return array_merge(Cashier::stripeOptions($options));
}

Expand Down
2 changes: 1 addition & 1 deletion src/Concerns/ManagesTransfer.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function transferToStripeAccount(int $amount, string $currency = 'USD', a
* @return TransferReversal
* @throws AccountNotFoundException|ApiErrorException
*/
public function reverseTransferFromStripeAccount(Transfer $transfer, $refundFee = false, ?int $amount, array $options = []): TransferReversal
public function reverseTransferFromStripeAccount(Transfer $transfer, $refundFee = false, ?int $amount = null, array $options = []): TransferReversal
{
$this->assertAccountExists();

Expand Down

0 comments on commit 2c1430c

Please sign in to comment.