From c467ed326cbb7f6f2acfbc1a6d843d16fc5f90eb Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Wed, 20 May 2026 18:46:57 +0900 Subject: [PATCH] Logger Level returns self --- www/lib/CoreLibs/Logging/Logger/Level.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/lib/CoreLibs/Logging/Logger/Level.php b/www/lib/CoreLibs/Logging/Logger/Level.php index dd59bfa6..7e0edfc7 100644 --- a/www/lib/CoreLibs/Logging/Logger/Level.php +++ b/www/lib/CoreLibs/Logging/Logger/Level.php @@ -86,7 +86,7 @@ enum Level: int /** * @param value-of|LogLevel::*|'Debug'|'Info'|'Notice'|'Warning'|'Error'|'Critical'|'Alert'|'Emergency' $name - * @return static + * @return self */ public static function fromName(string $name): self { @@ -104,7 +104,7 @@ enum Level: int /** * @param value-of $value - * @return static + * @return self */ public static function fromValue(int $value): self {