diff --git a/Classes/PhoneNumber.php b/Classes/PhoneNumber.php index 9350e23..b9e134d 100644 --- a/Classes/PhoneNumber.php +++ b/Classes/PhoneNumber.php @@ -89,10 +89,6 @@ public function getCountry(): string|null /** * Check if the phone number is of (a) given country(ies). - * - * @param array|string $country - * - * @return bool */ public function isOfCountry(array|string $country): bool { @@ -119,12 +115,9 @@ public function getType(bool $asValue = false): int|string /** * Check if the phone number is of (a) given type(s). * - * @param int|string $type - * - * @return bool * @throws libNumberParseException */ - public function isOfType(int|string $type): bool + public function isOfType(int|string|array $type): bool { $types = PhoneNumberType::sanitize(Arr::wrap($type)); @@ -139,9 +132,6 @@ public function isOfType(int|string $type): bool /** * Format the phone number in a given format. * - * @param string|int $format - * - * @return string * @throws NumberFormatException * @throws NumberParseException * @throws libNumberParseException