diff --git a/X10D/src/TimeSpanParser.cs b/X10D/src/TimeSpanParser.cs
index edfbb78..e327442 100644
--- a/X10D/src/TimeSpanParser.cs
+++ b/X10D/src/TimeSpanParser.cs
@@ -16,7 +16,7 @@ namespace X10D
/// The input string.
/// The format provider.
/// Returns an instance of .
- public static TimeSpan Parse(string input, IFormatProvider provider = null)
+ public static TimeSpan Parse(string input, IFormatProvider? provider = null)
{
const string realNumberPattern = @"([0-9]*\.[0-9]+|[0-9]+)";
var pattern = $"^(?:{realNumberPattern} *w)? *" +