fix: resolve PHPStan static analysis warnings

This commit is contained in:
xboard
2025-04-14 02:12:42 +08:00
parent 3d254c02c1
commit 2d3e4b4a95
84 changed files with 2330 additions and 1190 deletions
+1 -1
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)