Skip to content

Commit

Permalink
Fix Nullable reference types
Browse files Browse the repository at this point in the history
  • Loading branch information
tinohager committed Sep 17, 2024
1 parent 4a73f61 commit fc24840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Nager.Date/Models/HolidaySpecification.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class HolidaySpecification
/// Initial subdivision of a country (ISO 3166-2)
/// </summary>
/// <remarks>States, Province, Territories, Federal districts, Cantons</remarks>
public string[] SubdivisionCodes { get; set; } = [];
public string[]? SubdivisionCodes { get; set; }

/// <summary>
/// A list of types the holiday it is valid
Expand Down

0 comments on commit fc24840

Please sign in to comment.