mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 08:32:14 +00:00
Payment setting frontend part 1
This commit is contained in:
@@ -474,7 +474,7 @@ if (! function_exists('get_storage_percentage')) {
|
||||
/**
|
||||
* Get storage usage in percent
|
||||
*/
|
||||
function get_storage_percentage(int $used, int $maxAmount): float
|
||||
function get_storage_percentage(int $used, float $maxAmount): float
|
||||
{
|
||||
// Format gigabytes to bytes
|
||||
$total = intval(Metric::gigabytes($maxAmount)->numberOfBytes());
|
||||
|
||||
Reference in New Issue
Block a user