Auto commit for release 'v6.2.0' on 2025-01-31

This commit is contained in:
github-actions
2025-01-31 20:35:34 +01:00
parent 1d8feec7bc
commit cd0201074c
12 changed files with 259 additions and 256 deletions

View File

@@ -322,6 +322,7 @@ class PiggyBankRepository implements PiggyBankRepositoryInterface
$amount = '' === $amount ? '0' : $amount;
$sum = bcadd($sum, $amount);
}
return $sum;
}

View File

@@ -39,6 +39,7 @@ use Illuminate\Support\Collection;
interface PiggyBankRepositoryInterface
{
public function addAmount(PiggyBank $piggyBank, Account $account, string $amount, ?TransactionJournal $journal = null): bool;
public function getCurrentNativeAmount(PiggyBank $piggyBank, ?Account $account = null): string;
public function addAmountToPiggyBank(PiggyBank $piggyBank, string $amount, TransactionJournal $journal): void;