more build errors in Core

This commit is contained in:
Nikolaj Geisle
2022-02-27 21:20:50 +01:00
parent e7b31a22be
commit d1cf640f2a
71 changed files with 281 additions and 226 deletions

View File

@@ -25,7 +25,7 @@ namespace Umbraco.Cms.Core.Models
/// <returns>
/// A list of 5 different sized avatar URLs
/// </returns>
public static string[] GetUserAvatarUrls(this IUser user, IAppCache cache, MediaFileManager mediaFileManager, IImageUrlGenerator imageUrlGenerator)
public static string?[] GetUserAvatarUrls(this IUser user, IAppCache cache, MediaFileManager mediaFileManager, IImageUrlGenerator imageUrlGenerator)
{
// If FIPS is required, never check the Gravatar service as it only supports MD5 hashing.
// Unfortunately, if the FIPS setting is enabled on Windows, using MD5 will throw an exception