diff --git a/MDErrorReporter.php b/MDErrorReporter.php index 7f3045b..9f47309 100644 --- a/MDErrorReporter.php +++ b/MDErrorReporter.php @@ -61,7 +61,7 @@ final class MDErrorReporter { */ public function human_filesize(string $bytes, int $decimals = 2):string { - $size = ['B','kB','MB','GB','TB','PB','EB','ZB','YB']; + $size = ['B', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB']; $factor = \floor((strlen($bytes) - 1) / 3); return \sprintf("%.{$decimals}f", $bytes / \pow(1024, $factor)) . $size[$factor];