diff --git a/src/PhoneNumberParseException.php b/src/PhoneNumberParseException.php index 7d5dcdc..45816d0 100644 --- a/src/PhoneNumberParseException.php +++ b/src/PhoneNumberParseException.php @@ -11,10 +11,6 @@ final class PhoneNumberParseException extends PhoneNumberException { /** * @internal - * - * @param \Exception $e - * - * @return PhoneNumberParseException */ public static function wrap(\Exception $e) : PhoneNumberParseException { diff --git a/tests/PhoneNumberTest.php b/tests/PhoneNumberTest.php index 6fa890a..39ab94c 100644 --- a/tests/PhoneNumberTest.php +++ b/tests/PhoneNumberTest.php @@ -96,9 +96,6 @@ public function testGetExampleNumberThrowsExceptionForInvalidRegionCode() : void /** * @dataProvider providerGetNationalNumber - * - * @param string $expectedNationalNumber - * @param string $phoneNumber */ public function testGetNationalNumber(string $expectedNationalNumber, string $phoneNumber) : void { @@ -117,10 +114,6 @@ public static function providerGetNationalNumber() : array /** * @dataProvider providerParseNationalNumber - * - * @param string $expectedNumber - * @param string $numberToParse - * @param string $regionCode */ public function testParseNationalNumber(string $expectedNumber, string $numberToParse, string $regionCode) : void { @@ -162,9 +155,6 @@ public static function providerParseNationalNumber() : array /** * @dataProvider providerGetRegionCode - * - * @param string|null $expectedRegion - * @param string $phoneNumber */ public function testGetRegionCode(?string $expectedRegion, string $phoneNumber) : void { @@ -240,8 +230,6 @@ public static function providerGetNumberType() : array /** * @dataProvider providerValidNumbers * @dataProvider providerPossibleButNotValidNumbers - * - * @param string $phoneNumber */ public function testIsPossibleNumber(string $phoneNumber) : void { @@ -250,8 +238,6 @@ public function testIsPossibleNumber(string $phoneNumber) : void /** * @dataProvider providerNotPossibleNumbers - * - * @param string $phoneNumber */ public function testIsNotPossibleNumber(string $phoneNumber) : void { @@ -260,8 +246,6 @@ public function testIsNotPossibleNumber(string $phoneNumber) : void /** * @dataProvider providerValidNumbers - * - * @param string $phoneNumber */ public function testIsValidNumber(string $phoneNumber) : void { @@ -271,8 +255,6 @@ public function testIsValidNumber(string $phoneNumber) : void /** * @dataProvider providerNotPossibleNumbers * @dataProvider providerPossibleButNotValidNumbers - * - * @param string $phoneNumber */ public function testIsNotValidNumber(string $phoneNumber) : void { @@ -313,9 +295,6 @@ public static function providerNotPossibleNumbers() : array /** * @dataProvider providerParseException - * - * @param string $phoneNumber - * @param string|null $regionCode */ public function testParseException(string $phoneNumber, ?string $regionCode = null) : void { @@ -469,10 +448,6 @@ public static function providerFormatNumber() : array /** * @dataProvider providerFormatForCallingFrom - * - * @param string $phoneNumber - * @param string $countryCode - * @param string $expected */ public function testFormatForCallingFrom(string $phoneNumber, string $countryCode, string $expected) : void {