From de7c9d965e0fea49e53e93bf24ea80d55fcfa481 Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Tue, 17 Jan 2023 15:37:23 +0100 Subject: [PATCH] :bulb: PHPDoc in \DeprecatedCallsLog --- core/log.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/log.class.inc.php b/core/log.class.inc.php index ea4637dc6b..9f1f207250 100644 --- a/core/log.class.inc.php +++ b/core/log.class.inc.php @@ -1022,6 +1022,7 @@ class DeprecatedCallsLog extends LogAPI public const ENUM_CHANNEL_FILE = 'deprecated-file'; public const CHANNEL_DEFAULT = self::ENUM_CHANNEL_PHP_METHOD; + /** @var string Warning this constant won't be used directly ! To see the real default level check {@see GetLevelDefault()} */ public const LEVEL_DEFAULT = self::LEVEL_ERROR; /** @var \FileLog we want our own instance ! */ @@ -1141,7 +1142,6 @@ class DeprecatedCallsLog extends LogAPI * - else call parent method * * In other words, when in dev mode all deprecated calls will be logged to file - * */ protected static function GetLevelDefault(string $sConfigKey) {