From 648ff6a4079108c1d5030d4805f72ab5f2fc95ad Mon Sep 17 00:00:00 2001 From: Adam Simon Date: Wed, 21 Aug 2024 09:15:53 +0200 Subject: [PATCH] Minor corrections --- src/ConfigCat.Client.Tests/UtilsTests.cs | 2 +- src/ConfigCatClient/Logging/IConfigCatLogger.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ConfigCat.Client.Tests/UtilsTests.cs b/src/ConfigCat.Client.Tests/UtilsTests.cs index f1b18a63..b81e12e3 100644 --- a/src/ConfigCat.Client.Tests/UtilsTests.cs +++ b/src/ConfigCat.Client.Tests/UtilsTests.cs @@ -164,7 +164,7 @@ public void ModelHelper_SetEnum_Works(SettingType enumValue) [DataRow("abc", null, false, "abc")] [DataRow("abc", new object?[0], false, "abc")] [DataRow("abc{0}{1}{2}", new object?[] { 0.1, null, 23 }, false, "abc0.123")] - public void LazyString_Value_Works(string? valueOrFormat, object args, bool expectedIsValueCreated, string expectedValue) + public void LazyString_Value_Works(string? valueOrFormat, object? args, bool expectedIsValueCreated, string expectedValue) { var lazyString = args is false ? new LazyString(valueOrFormat) : new LazyString(valueOrFormat!, (object?[]?)args); diff --git a/src/ConfigCatClient/Logging/IConfigCatLogger.cs b/src/ConfigCatClient/Logging/IConfigCatLogger.cs index 3e8eaf7c..e3d10675 100644 --- a/src/ConfigCatClient/Logging/IConfigCatLogger.cs +++ b/src/ConfigCatClient/Logging/IConfigCatLogger.cs @@ -9,7 +9,7 @@ namespace ConfigCat.Client; /// Event identifier. /// Message. /// The object related to the message (if any). -/// when the event should be logged, when it should be suppressed. +/// when the event should be logged, when it should be skipped. public delegate bool LogFilterCallback(LogLevel level, LogEventId eventId, ref FormattableLogMessage message, Exception? exception); ///