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 83f8f74 commit ea986a8
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 ea986a8

Please sign in to comment.