From ab9a8cbb75fd0ddd98ba52c5443850d9adbce4a6 Mon Sep 17 00:00:00 2001 From: Matteo Gheza Date: Fri, 11 Oct 2024 19:18:41 +0200 Subject: [PATCH] Move precision parameter in getFormattedByte --- src/Traits/FormattableBlock.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Traits/FormattableBlock.php b/src/Traits/FormattableBlock.php index 23b44e7..97b1b11 100644 --- a/src/Traits/FormattableBlock.php +++ b/src/Traits/FormattableBlock.php @@ -37,9 +37,9 @@ public function getFormattedDateTime( */ public function getFormattedByte( mixed $key, - mixed $defaultValue = null, - string $charNestedKey = ".", int $precision = 2, + mixed $defaultValue = null, + string $charNestedKey = "." ): string { $bytes = $this->get($key, $defaultValue, $charNestedKey); if (is_null($bytes)) {