Fix badly named field.

This commit is contained in:
James Cole
2025-08-03 07:13:57 +02:00
parent 1041030b1e
commit 3233ca4a4c
2 changed files with 2 additions and 2 deletions

View File

@@ -131,7 +131,7 @@ class PiggyBankRepository implements PiggyBankRepositoryInterface, UserGroupInte
/**
* Get current amount saved in piggy bank.
*/
public function getCurrentPrimaryAmount(PiggyBank $piggyBank, ?Account $account = null): string
public function getCurrentPrimaryCurrencyAmount(PiggyBank $piggyBank, ?Account $account = null): string
{
$sum = '0';
foreach ($piggyBank->accounts as $current) {