fix: resolve PHPStan static analysis warnings

This commit is contained in:
xboard
2025-05-07 19:48:19 +08:00
parent db235c10e8
commit 97e7ffccae
86 changed files with 2335 additions and 1206 deletions

View File

@@ -134,7 +134,7 @@ class Helper
public static function randomPort($range): int {
$portRange = explode('-', $range);
return random_int($portRange[0], $portRange[1]);
return random_int((int)$portRange[0], (int)$portRange[1]);
}
public static function base64EncodeUrlSafe($data)