Skip to content

Commit

Permalink
Explicitly implement Stringable
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Dec 23, 2023
1 parent 12a17c4 commit e5f93c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/PhoneNumber.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace Brick\PhoneNumber;

use JsonSerializable;
use Stringable;
use libphonenumber;
use libphonenumber\geocoding\PhoneNumberOfflineGeocoder;
use libphonenumber\NumberParseException;
Expand All @@ -13,7 +14,7 @@
/**
* A phone number.
*/
final class PhoneNumber implements JsonSerializable
final class PhoneNumber implements Stringable, JsonSerializable
{
/**
* The underlying PhoneNumber object from libphonenumber.
Expand Down

0 comments on commit e5f93c8

Please sign in to comment.