Skip to content

Firefly III: a personal finances manager

Remove unused function.

James Coled137b2938d53
diff --git a/app/Support/Twig/General.php b/app/Support/Twig/General.php
index 7d7041bf18..74e0794a07 100644
--- a/app/Support/Twig/General.php
+++ b/app/Support/Twig/General.php
@@ -48,7 +48,6 @@ class General extends AbstractExtension
$this->formatFilesize(),
$this->mimeIcon(),
$this->markdown(),
- $this->floatval(),
$this->phpHostName(),
];
}
@@ -199,19 +198,6 @@ class General extends AbstractExtension
);
}
- /**
- * @return TwigFilter
- */
- protected function floatval(): TwigFilter
- {
- return new TwigFilter(
- 'floatval',
- static function ($value): float {
- return (float) $value;
- }
- );
- }
-
/**
* Show URL host name
*