]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/Utils.php
Manually fix remaining PHPCS errors
[github/shaarli/Shaarli.git] / application / Utils.php
index 4c2d670133f84b002a8b15c0c8c47815b4a23860..952378ab8620e02a360f73fd10ad4d1147afda9d 100644 (file)
@@ -382,8 +382,10 @@ function return_bytes($val)
     switch ($last) {
         case 'g':
             $val *= 1024;
+        // do no break in order 1024^2 for each unit
         case 'm':
             $val *= 1024;
+        // do no break in order 1024^2 for each unit
         case 'k':
             $val *= 1024;
     }