@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | * |
| 55 | 55 | * @param string $phoneNumber |
| 56 | 56 | * |
| 57 | - * @return mixed |
|
| 57 | + * @return string|false |
|
| 58 | 58 | */ |
| 59 | 59 | public function getFormattedNumber(string $phoneNumber) |
| 60 | 60 | { |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | * |
| 85 | 85 | * @param string $phoneNumber |
| 86 | 86 | * |
| 87 | - * @return mixed |
|
| 87 | + * @return \libphonenumber\PhoneNumber |
|
| 88 | 88 | */ |
| 89 | 89 | protected function getPhoneNumberObject(string $phoneNumber) |
| 90 | 90 | { |
@@ -4,8 +4,8 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Illuminate\Validation\Concerns\ValidatesAttributes; |
| 6 | 6 | use libphonenumber\NumberParseException; |
| 7 | -use libphonenumber\PhoneNumberUtil; |
|
| 8 | 7 | use libphonenumber\PhoneNumberFormat; |
| 8 | +use libphonenumber\PhoneNumberUtil; |
|
| 9 | 9 | |
| 10 | 10 | class AllowedRecipientsValidatorSanitiser |
| 11 | 11 | { |