mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 14:12:15 +00:00
Large commit to get rid of a lot of static methods.
This commit is contained in:
@@ -310,7 +310,7 @@ class General extends Twig_Extension
|
||||
{
|
||||
return new Twig_SimpleFunction(
|
||||
'getAmount', function (TransactionJournal $journal): string {
|
||||
return TransactionJournal::amount($journal);
|
||||
return $journal->amount();
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user