Skip to content

Commit

Permalink
Clean up useless docblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Dec 23, 2023
1 parent e5f93c8 commit 4511168
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 29 deletions.
4 changes: 0 additions & 4 deletions src/PhoneNumberParseException.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ final class PhoneNumberParseException extends PhoneNumberException
{
/**
* @internal
*
* @param \Exception $e
*
* @return PhoneNumberParseException
*/
public static function wrap(\Exception $e) : PhoneNumberParseException
{
Expand Down
25 changes: 0 additions & 25 deletions tests/PhoneNumberTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,6 @@ public function testGetExampleNumberThrowsExceptionForInvalidRegionCode() : void

/**
* @dataProvider providerGetNationalNumber
*
* @param string $expectedNationalNumber
* @param string $phoneNumber
*/
public function testGetNationalNumber(string $expectedNationalNumber, string $phoneNumber) : void
{
Expand All @@ -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
{
Expand Down Expand Up @@ -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
{
Expand Down Expand Up @@ -240,8 +230,6 @@ public static function providerGetNumberType() : array
/**
* @dataProvider providerValidNumbers
* @dataProvider providerPossibleButNotValidNumbers
*
* @param string $phoneNumber
*/
public function testIsPossibleNumber(string $phoneNumber) : void
{
Expand All @@ -250,8 +238,6 @@ public function testIsPossibleNumber(string $phoneNumber) : void

/**
* @dataProvider providerNotPossibleNumbers
*
* @param string $phoneNumber
*/
public function testIsNotPossibleNumber(string $phoneNumber) : void
{
Expand All @@ -260,8 +246,6 @@ public function testIsNotPossibleNumber(string $phoneNumber) : void

/**
* @dataProvider providerValidNumbers
*
* @param string $phoneNumber
*/
public function testIsValidNumber(string $phoneNumber) : void
{
Expand All @@ -271,8 +255,6 @@ public function testIsValidNumber(string $phoneNumber) : void
/**
* @dataProvider providerNotPossibleNumbers
* @dataProvider providerPossibleButNotValidNumbers
*
* @param string $phoneNumber
*/
public function testIsNotValidNumber(string $phoneNumber) : void
{
Expand Down Expand Up @@ -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
{
Expand Down Expand Up @@ -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
{
Expand Down

0 comments on commit 4511168

Please sign in to comment.