Fix AOORE call parameters
This commit is contained in:
parent
377fa58320
commit
c67aa37590
|
@ -15,7 +15,7 @@ public static class Utils {
|
||||||
// Works up to 79, doubt i'll have >=80 minute read time blog posts
|
// Works up to 79, doubt i'll have >=80 minute read time blog posts
|
||||||
public static string a_an(int number) {
|
public static string a_an(int number) {
|
||||||
if (number >= 80)
|
if (number >= 80)
|
||||||
throw new ArgumentOutOfRangeException();
|
throw new ArgumentOutOfRangeException(nameof(number));
|
||||||
|
|
||||||
return number switch {
|
return number switch {
|
||||||
8 => "an",
|
8 => "an",
|
||||||
|
|
Loading…
Reference in a new issue