Fix non-nullable array to nullable

This commit is contained in:
Nikolaj Geisle
2022-04-04 09:21:52 +02:00
parent c6e7e139e9
commit 0a7e698883
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ namespace Umbraco.Cms.Core.Models
/// <param name="savingCultures"></param>
/// <param name="defaultCulture"></param>
/// <returns></returns>
public static string? GetCultureForInvariantErrors(IContent? content, string[] savingCultures, string? defaultCulture)
public static string? GetCultureForInvariantErrors(IContent? content, string?[] savingCultures, string? defaultCulture)
{
if (content == null) throw new ArgumentNullException(nameof(content));
if (savingCultures == null) throw new ArgumentNullException(nameof(savingCultures));