Skip to content

Commit 3767b29

Browse files
revert refactoring of fallback call
Co-authored-by: Michal Sniatala <[email protected]>
1 parent 8829ea8 commit 3767b29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Files/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public function getSizeByUnit(string $unit = 'b')
106106
return match (strtolower($unit)) {
107107
'kb' => $this->getSizeByUnitBinary(FileSizeUnit::KB),
108108
'mb' => $this->getSizeByUnitBinary(FileSizeUnit::MB),
109-
default => $this->getSizeByUnitBinary(FileSizeUnit::B)
109+
default => $this->getSize()
110110
};
111111
}
112112

0 commit comments

Comments
 (0)