mirror of
https://github.com/getformwork/formwork.git
synced 2025-02-23 17:24:38 +01:00
Rename FileSystem::bytesToSize()
to FileSystem::formatSize()
This commit is contained in:
parent
fa2341fe12
commit
b55fc6e8d0
@ -702,7 +702,7 @@ class FileSystem
|
||||
/**
|
||||
* Convert bytes to a human-readable size
|
||||
*/
|
||||
public static function bytesToSize(int $bytes): string
|
||||
public static function formatSize(int $bytes): string
|
||||
{
|
||||
if ($bytes <= 0) {
|
||||
return '0 B';
|
||||
|
Loading…
x
Reference in New Issue
Block a user