Skip to content

Commit

Permalink
Add else statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
Corniel committed Feb 14, 2024
1 parent 55657bb commit 1d5b4f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions specs/Qowaiv.Specs/Identifiers/Id_for_Int32_specs.cs
Expand Up @@ -70,6 +70,7 @@ public override bool TryCreate(object? obj, out object? id)
id = even;
return true;
}
else
{
id = null;
return false;
Expand Down
1 change: 1 addition & 0 deletions specs/Qowaiv.Specs/Identifiers/Id_for_Int64_specs.cs
Expand Up @@ -68,6 +68,7 @@ public override bool TryCreate(object? obj, out object? id)
id = even;
return true;
}
else
{
id = null;
return false;
Expand Down

0 comments on commit 1d5b4f5

Please sign in to comment.