mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-25 15:56:33 -06:00
Remove unused function.
This commit is contained in:
parent
d3a619cb15
commit
d137b2938d
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user