Skip to content

Commit

Permalink
Use expression body
Browse files Browse the repository at this point in the history
  • Loading branch information
TrevorPilley committed Nov 6, 2023
1 parent 449c7ba commit 43c227b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/PhoneNumbers/PhoneNumber.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ public abstract class PhoneNumber
/// Initialises a new instance of the <see cref="PhoneNumber"/> class.
/// </summary>
/// <param name="phoneNumberHint">The <see cref="PhoneNumberHint"/> for the phone number.</param>
protected PhoneNumber(PhoneNumberHint phoneNumberHint)
{
protected PhoneNumber(PhoneNumberHint phoneNumberHint) =>
Hint = phoneNumberHint;
}

/// <summary>
/// Gets the <see cref="CountryInfo"/> for the phone number.
Expand Down

0 comments on commit 43c227b

Please sign in to comment.