Skip to content

Commit

Permalink
Make classes final
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Sep 2, 2021
1 parent f20bc89 commit f9cdef7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/PhoneNumber.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
/**
* A phone number.
*/
class PhoneNumber implements JsonSerializable
final class PhoneNumber implements JsonSerializable
{
/**
* The underlying PhoneNumber object from libphonenumber.
Expand Down
2 changes: 1 addition & 1 deletion src/PhoneNumberFormat.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* Constants for the phone number formats.
*/
class PhoneNumberFormat
final class PhoneNumberFormat
{
/**
* The E164 format.
Expand Down
2 changes: 1 addition & 1 deletion src/PhoneNumberParseException.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* Exception thrown when a phone number cannot be parsed.
*/
class PhoneNumberParseException extends PhoneNumberException
final class PhoneNumberParseException extends PhoneNumberException
{
/**
* @internal
Expand Down
2 changes: 1 addition & 1 deletion src/PhoneNumberType.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/**
* Constants for the phone number types.
*/
class PhoneNumberType
final class PhoneNumberType
{
/**
* Fixed line number.
Expand Down

0 comments on commit f9cdef7

Please sign in to comment.