Commit 9a8c6f57 authored by abkrim's avatar abkrim 😀
Browse files

Correct PHPCS PSR2 faillures 2

parent 72630fa2
Pipeline #195 failed with stages
in 1 minute and 16 seconds
......@@ -62,10 +62,8 @@ trait Helper
),
);
foreach ($arBytes as $arItem)
{
if ($bytes >= $arItem["VALUE"])
{
foreach ($arBytes as $arItem) {
if ($bytes >= $arItem["VALUE"]) {
$result = $bytes / $arItem["VALUE"];
$result = str_replace(".", ",", strval(round($result, 2))) . " " . $arItem["UNIT"];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment