fix: fix return type in transferToGB method

This commit is contained in:
xboard
2025-08-20 04:13:52 +08:00
parent 877a508f01
commit 1808e994ae

View File

@@ -205,10 +205,10 @@ class Helper
/**
* convert the transfer_enable to GB
* @param int $transfer_enable
* @return int
* @param float $transfer_enable
* @return float
*/
public static function transferToGB(int $transfer_enable): int
public static function transferToGB(float $transfer_enable): float
{
return $transfer_enable / 1073741824;
}