diff --git a/app/Helpers/Helper.php b/app/Helpers/Helper.php index 0bd49bc292..9c7ca068c3 100644 --- a/app/Helpers/Helper.php +++ b/app/Helpers/Helper.php @@ -1092,6 +1092,15 @@ class Helper return $file_name; } + + /** + * Universal helper to show file size in human-readable formats + * + * @author A. Gianotto + * @since 5.0 + * + * @return string[] + */ public static function formatFilesizeUnits($bytes) { if ($bytes >= 1073741824)