mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-18 18:44:16 +00:00
Fixed bug in sumOfEverything() function
This commit is contained in:
@@ -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'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user