diff --git a/app/Utils.php b/app/Utils.php index 1de3eef39..f986e66da 100644 --- a/app/Utils.php +++ b/app/Utils.php @@ -120,7 +120,7 @@ public static function formatSize(int|float $size): string * @param int $precision 精度 * @return int */ - public static function shortenNumber(int|string $n, int $precision = 1): int + public static function shortenNumber(int|string $n, int $precision = 1): int|string { if ($n < 1e+3) { return number_format($n);