Skip to content

Commit

Permalink
Move precision parameter in getFormattedByte
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteoGheza authored Oct 11, 2024
1 parent 5b8311f commit ab9a8cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Traits/FormattableBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit ab9a8cb

Please sign in to comment.