@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | * |
| 23 | 23 | * @param string $phoneNumber |
| 24 | 24 | * |
| 25 | - * @return mixed |
|
| 25 | + * @return string|false |
|
| 26 | 26 | */ |
| 27 | 27 | public function getFormattedNumber(string $phoneNumber) |
| 28 | 28 | { |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | * |
| 62 | 62 | * @param string $phoneNumber |
| 63 | 63 | * |
| 64 | - * @return mixed |
|
| 64 | + * @return PhoneNumber |
|
| 65 | 65 | */ |
| 66 | 66 | public function getPhoneNumberObject(string $phoneNumber) |
| 67 | 67 | { |
@@ -4,8 +4,8 @@ |
||
| 4 | 4 | |
| 5 | 5 | use libphonenumber\NumberParseException; |
| 6 | 6 | use libphonenumber\PhoneNumber; |
| 7 | -use libphonenumber\PhoneNumberUtil; |
|
| 8 | 7 | use libphonenumber\PhoneNumberFormat; |
| 8 | +use libphonenumber\PhoneNumberUtil; |
|
| 9 | 9 | |
| 10 | 10 | class AllowedRecipientsSanitiser |
| 11 | 11 | { |