Skip to content

Commit

Permalink
Readonly property
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Oct 13, 2023
1 parent d7523e7 commit cbd585a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PhoneNumber.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ final class PhoneNumber implements JsonSerializable
/**
* The underlying PhoneNumber object from libphonenumber.
*/
private libphonenumber\PhoneNumber $phoneNumber;
private readonly libphonenumber\PhoneNumber $phoneNumber;

/**
* Private constructor. Use a factory method to obtain an instance.
Expand Down

0 comments on commit cbd585a

Please sign in to comment.