Skip to content

Commit

Permalink
Minor corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
adams85 committed Aug 21, 2024
1 parent c4e59ed commit 648ff6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ConfigCat.Client.Tests/UtilsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
2 changes: 1 addition & 1 deletion src/ConfigCatClient/Logging/IConfigCatLogger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace ConfigCat.Client;
/// <param name="eventId">Event identifier.</param>
/// <param name="message">Message.</param>
/// <param name="exception">The <see cref="Exception"/> object related to the message (if any).</param>
/// <returns><see langword="true"/> when the event should be logged, <see langword="false"/> when it should be suppressed.</returns>
/// <returns><see langword="true"/> when the event should be logged, <see langword="false"/> when it should be skipped.</returns>
public delegate bool LogFilterCallback(LogLevel level, LogEventId eventId, ref FormattableLogMessage message, Exception? exception);

/// <summary>
Expand Down

0 comments on commit 648ff6a

Please sign in to comment.