mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-14 11:20:53 +08:00
fix: resolve deprecation warnings across the application
This commit is contained in:
@@ -90,7 +90,7 @@ class Helper
|
||||
return true;
|
||||
}
|
||||
|
||||
public static function trafficConvert(int $byte)
|
||||
public static function trafficConvert(float $byte)
|
||||
{
|
||||
$kb = 1024;
|
||||
$mb = 1048576;
|
||||
|
||||
Reference in New Issue
Block a user