From b87d0f5b08fbf311b461748c0ff6d5987756f7de Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Fri, 1 Oct 2021 16:25:27 +0200 Subject: [PATCH] Add missing whitespaces in array --- MDErrorReporter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];