| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 48 | * Is the number valid? |
||
| 49 | * |
||
| 50 | * @param App\PhoneNumberValidator $validator |
||
| 51 | * @return bool |
||
| 52 | */ |
||
| 53 | public function isNumberValid(PhoneNumberValidator $validator): bool |
||
| 54 | { |
||
| 55 | return ($validator->isValidMobile() && $validator->isValidForCountry($this->validCountryCodes)); |
||
| 56 | } |
||
| 57 | } |
||
| 58 |