From 503b7d82491d5603fb96127c4b11fde21a9f9c94 Mon Sep 17 00:00:00 2001 From: Wisp X <1591788658@qq.com> Date: Sun, 13 Mar 2022 03:19:00 +0800 Subject: [PATCH] fix a bug --- app/Utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Utils.php b/app/Utils.php index f986e66da..b6ce0dd8b 100644 --- a/app/Utils.php +++ b/app/Utils.php @@ -118,7 +118,7 @@ public static function formatSize(int|float $size): string * * @param int|string $n 数字 * @param int $precision 精度 - * @return int + * @return int|string */ public static function shortenNumber(int|string $n, int $precision = 1): int|string {