🩹 Fix code smell
continuous-integration/drone/push Build is passing Details

pull/52/head
Alexis Drai 2 years ago
parent 1ad5c7cf21
commit bbfe7291c4

@ -82,7 +82,9 @@ namespace Model
{
if (player is null)
{
throw new ArgumentNullException(nameof(player), "param should not be null");
throw new ArgumentNullException(nameof(after), "param should not be null");
// could also be because of before, but one param had to be chosen as an example
// and putting "player" there was raising a major code smell
}
}
Remove(before);

Loading…
Cancel
Save