fix: resolve deprecation warnings across the application

This commit is contained in:
xboard committed 2025-01-26 00:44:58 +08:00
1 parent f65f1ae817
commit 50ea3bd667
3 files changed
+3 -3

No files matched your search

+1 -1
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;