mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Remove inspection, add TODO's, make code a bit simpler.
This commit is contained in:
@@ -122,7 +122,7 @@ class AmountFormat extends Twig_Extension
|
||||
{
|
||||
return new Twig_SimpleFunction(
|
||||
'formatAmountBySymbol',
|
||||
/** @noinspection MoreThanThreeArgumentsInspection */
|
||||
|
||||
static function (string $amount, string $symbol, int $decimalPlaces = null, bool $coloured = null): string {
|
||||
$decimalPlaces = $decimalPlaces ?? 2;
|
||||
$coloured = $coloured ?? true;
|
||||
|
Reference in New Issue
Block a user