fix: resolve deprecation warnings across the application

This commit is contained in:
xboard
2025-01-26 00:44:58 +08:00
parent 239b970055
commit 2a43a442de
3 changed files with 3 additions and 3 deletions

View File

@@ -90,7 +90,7 @@ class Helper
return true;
}
public static function trafficConvert(int $byte)
public static function trafficConvert(float $byte)
{
$kb = 1024;
$mb = 1048576;