diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-11-08 15:02:45 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-11-09 10:56:49 +0100 |
commit | b99e00f7cd5f7e2090f44cd97bfb426db55340c2 (patch) | |
tree | 1eea2479c3438c55a9c5c284cc28483fe8dbaf4b /application/Utils.php | |
parent | 53054b2bf6a919fd4ff9b44b6ad1986f21f488b6 (diff) | |
download | Shaarli-b99e00f7cd5f7e2090f44cd97bfb426db55340c2.tar.gz Shaarli-b99e00f7cd5f7e2090f44cd97bfb426db55340c2.tar.zst Shaarli-b99e00f7cd5f7e2090f44cd97bfb426db55340c2.zip |
Manually fix remaining PHPCS errors
Diffstat (limited to 'application/Utils.php')
-rw-r--r-- | application/Utils.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/application/Utils.php b/application/Utils.php index 4c2d6701..952378ab 100644 --- a/application/Utils.php +++ b/application/Utils.php | |||
@@ -382,8 +382,10 @@ function return_bytes($val) | |||
382 | switch ($last) { | 382 | switch ($last) { |
383 | case 'g': | 383 | case 'g': |
384 | $val *= 1024; | 384 | $val *= 1024; |
385 | // do no break in order 1024^2 for each unit | ||
385 | case 'm': | 386 | case 'm': |
386 | $val *= 1024; | 387 | $val *= 1024; |
388 | // do no break in order 1024^2 for each unit | ||
387 | case 'k': | 389 | case 'k': |
388 | $val *= 1024; | 390 | $val *= 1024; |
389 | } | 391 | } |