From a7d961808fa845f4cc43e8dd3a99117a31fa8988 Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Mon, 11 Oct 2021 15:11:49 +0200 Subject: [PATCH] Add missing whitespaces --- src/MDOutputHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MDOutputHandler.php b/src/MDOutputHandler.php index f319303..48196c5 100644 --- a/src/MDOutputHandler.php +++ b/src/MDOutputHandler.php @@ -37,7 +37,7 @@ final class MDOutputHandler { */ private function _human_filesize(int $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((string)$bytes) - 1) / 3); return sprintf("%.{$decimals}f", $bytes / pow(1024, $factor)) . $size[$factor];