diff options
Diffstat (limited to 'src/SMAPI/IReflectedMethod.cs')
-rw-r--r-- | src/SMAPI/IReflectedMethod.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/SMAPI/IReflectedMethod.cs b/src/SMAPI/IReflectedMethod.cs index 78e66cb1..6d87966a 100644 --- a/src/SMAPI/IReflectedMethod.cs +++ b/src/SMAPI/IReflectedMethod.cs @@ -1,5 +1,3 @@ -#nullable disable - using System.Reflection; namespace StardewModdingAPI @@ -20,10 +18,10 @@ namespace StardewModdingAPI /// <summary>Invoke the method.</summary> /// <typeparam name="TValue">The return type.</typeparam> /// <param name="arguments">The method arguments to pass in.</param> - TValue Invoke<TValue>(params object[] arguments); + TValue? Invoke<TValue>(params object?[] arguments); /// <summary>Invoke the method.</summary> /// <param name="arguments">The method arguments to pass in.</param> - void Invoke(params object[] arguments); + void Invoke(params object?[] arguments); } } |