From 6f9808f2b859ec721acca71dc368b52c75b3c812 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Sat, 23 Dec 2023 10:09:00 -0500 Subject: [PATCH] Nullify `EventNotification` --- .../Components/Interop/Topic/EventNotification.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Tgstation.Server.Host/Components/Interop/Topic/EventNotification.cs b/src/Tgstation.Server.Host/Components/Interop/Topic/EventNotification.cs index 6977a27554..75eb3bc9f4 100644 --- a/src/Tgstation.Server.Host/Components/Interop/Topic/EventNotification.cs +++ b/src/Tgstation.Server.Host/Components/Interop/Topic/EventNotification.cs @@ -4,8 +4,6 @@ using System.Linq; using Tgstation.Server.Host.Components.Events; -#nullable disable - namespace Tgstation.Server.Host.Components.Interop.Topic { /// @@ -22,14 +20,14 @@ namespace Tgstation.Server.Host.Components.Interop.Topic /// /// The set of parameters. /// - public IReadOnlyCollection Parameters { get; } + public IReadOnlyCollection Parameters { get; } /// /// Initializes a new instance of the class. /// /// The value of . /// The that forms the value of . - public EventNotification(EventType eventType, IEnumerable parameters = null) + public EventNotification(EventType eventType, IEnumerable parameters) { Type = eventType; Parameters = parameters?.ToList() ?? throw new ArgumentNullException(nameof(parameters));