mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-16 18:25:00 -06:00
Fixed bug in sumOfEverything() function
This commit is contained in:
parent
8a3b7d7c1a
commit
4a64dce737
@ -380,9 +380,9 @@ class AccountRepository implements AccountRepositoryInterface
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function sumOfEverything()
|
||||
public function sumOfEverything(): string
|
||||
{
|
||||
return Auth::user()->transactions()->sum('amount');
|
||||
return strval(Auth::user()->transactions()->sum('amount'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user