Use nullability on the rest of core
This commit is contained in:
@@ -4,7 +4,7 @@ namespace Umbraco.Cms.Core.Notifications
|
||||
{
|
||||
public static class NotificationExtensions
|
||||
{
|
||||
public static T WithState<T>(this T notification, IDictionary<string, object> state) where T : IStatefulNotification
|
||||
public static T WithState<T>(this T notification, IDictionary<string, object>? state) where T : IStatefulNotification
|
||||
{
|
||||
notification.State = state;
|
||||
return notification;
|
||||
|
||||
Reference in New Issue
Block a user