@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | * |
22 | 22 | * @param string $phoneNumber |
23 | 23 | * |
24 | - * @return mixed |
|
24 | + * @return string|false |
|
25 | 25 | */ |
26 | 26 | public function getFormattedNumber(string $phoneNumber) |
27 | 27 | { |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | * |
52 | 52 | * @param string $phoneNumber |
53 | 53 | * |
54 | - * @return mixed |
|
54 | + * @return \libphonenumber\PhoneNumber |
|
55 | 55 | */ |
56 | 56 | public function getPhoneNumberObject(string $phoneNumber) |
57 | 57 | { |
@@ -3,8 +3,8 @@ |
||
3 | 3 | namespace Digitonic\Validation\Services; |
4 | 4 | |
5 | 5 | use libphonenumber\NumberParseException; |
6 | -use libphonenumber\PhoneNumberUtil; |
|
7 | 6 | use libphonenumber\PhoneNumberFormat; |
7 | +use libphonenumber\PhoneNumberUtil; |
|
8 | 8 | |
9 | 9 | class AllowedRecipientsSanitiser |
10 | 10 | { |