prefer combined operators, refs #999

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-11-05 11:07:18 +01:00
parent b0a66b687d
commit 4a4188a96b
6 changed files with 13 additions and 13 deletions

View File

@@ -89,7 +89,7 @@ class FroxlorTwig extends AbstractExtension
public function formatBytesFilter($size, $suffix = "B", $factor = 1)
{
$size = $size * $factor;
$size *= $factor;
$units = [
'',
'K',