Remove unused function.

This commit is contained in:
James Cole 2022-12-29 07:16:31 +01:00
parent d3a619cb15
commit d137b2938d
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80

View File

@ -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
*