Fix AOORE call parameters

This commit is contained in:
Laura Hausmann 2022-12-01 16:40:00 +01:00
parent 377fa58320
commit c67aa37590
Signed by: zotan
GPG key ID: D044E84C5BE01605

View file

@ -15,7 +15,7 @@ public static class Utils {
// Works up to 79, doubt i'll have >=80 minute read time blog posts
public static string a_an(int number) {
if (number >= 80)
throw new ArgumentOutOfRangeException();
throw new ArgumentOutOfRangeException(nameof(number));
return number switch {
8 => "an",