Skip to content

Commit

Permalink
Fix code standards
Browse files Browse the repository at this point in the history
  • Loading branch information
omahm authored Sep 29, 2020
1 parent 117a789 commit c6e58bf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/PhoneNumberUtil.php
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ public static function initExtnPatterns()
/**
* Helper initialiser method to create the regular-expression pattern to match extensions,
* allowing the one-char extension symbols provided by {@code singleExtnSymbols}.
*
* @param string $singleExtnSymbols
* @return string
*/
Expand Down Expand Up @@ -565,7 +565,7 @@ public static function resetInstance()
/**
* Converts all alpha characters in a number to their respective digits on a keypad, but retains
* existing formatting.
*
* @param string $number
* @return string
*/
Expand Down Expand Up @@ -924,7 +924,7 @@ public function getNationalSignificantNumber(PhoneNumber $number)
}

/**
* Returns the type of number passed in i.e Toll free, premium.
* Returns the type of number passed in i.e Toll free, premium.
*
* @param string $nationalNumber
* @param PhoneMetadata $metadata
Expand Down Expand Up @@ -3460,7 +3460,7 @@ protected function isNationalNumberSuffixOfTheOther(PhoneNumber $firstNumber, Ph
* Returns true if a string ends with a given substring, false otherwise.
*
* @param string $hayStack
* @param string $needle
* @param string $needle
* @return bool
*/
protected function stringEndsWithString($hayStack, $needle)
Expand Down Expand Up @@ -3610,7 +3610,7 @@ public function isPossibleNumberForTypeWithReason(PhoneNumber $number, $type)
* Attempts to extract a valid number from a phone number that is too long to be valid, and resets
* the PhoneNumber object passed in to that valid version. If no valid number could be extracted,
* the PhoneNumber object passed in will not be modified.
*
* @param PhoneNumber $number a PhoneNumber object which contains a number that is too long to be valid.
* @return boolean true if a valid phone number can be successfully extracted.
*/
Expand Down

0 comments on commit c6e58bf

Please sign in to comment.