mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-19 02:45:58 +00:00
Fixed bug in sumOfEverything() function
This commit is contained in:
@@ -380,9 +380,9 @@ class AccountRepository implements AccountRepositoryInterface
|
|||||||
/**
|
/**
|
||||||
* @return string
|
* @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