From 737f70fac5e47f9d336fb4d2cd785614a1cbffb2 Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Tue, 10 Jan 2023 14:40:16 +0900 Subject: [PATCH] Fix phpdoc Exception name with missing \ --- www/lib/CoreLibs/Convert/Byte.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/lib/CoreLibs/Convert/Byte.php b/www/lib/CoreLibs/Convert/Byte.php index 1708f39e..d7dc17ea 100644 --- a/www/lib/CoreLibs/Convert/Byte.php +++ b/www/lib/CoreLibs/Convert/Byte.php @@ -37,7 +37,7 @@ class Byte * BYTE_FORMAT_ADJUST: sprintf adjusted two 2 decimals * BYTE_FORMAT_SI: use 1000 instead of 1024 * @return string converted byte number (float) with suffix - * @throws Exception 1: no valid flag set + * @throws \Exception 1: no valid flag set */ public static function humanReadableByteFormat($bytes, int $flags = 0): string { @@ -119,7 +119,7 @@ class Byte * @param int $flags bitwise flag with use space turned on * BYTE_FORMAT_SI: use 1000 instead of 1024 * @return string|int|float converted value or original value - * @throws Exception 1: no valid flag set + * @throws \Exception 1: no valid flag set */ public static function stringByteFormat($number, int $flags = 0) {