Skip to content

Commit

Permalink
Merge pull request #612 from Finidi-Schoonhoven/patch-1
Browse files Browse the repository at this point in the history
Fix string parameter type hinted as integer
  • Loading branch information
giggsey committed Jan 8, 2024
2 parents 033bea9 + 8d9277e commit 3b22d4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PhoneNumberUtil.php
Original file line number Diff line number Diff line change
Expand Up @@ -1948,7 +1948,7 @@ protected function buildNationalNumberForParsing($numberToParse, &$nationalNumbe
* (530) 583-6985 x302 and (530) 583-6985 x2303. We remove the second extension so that the first
* number is parsed correctly.
*
* @param int $number the string that might contain a phone number
* @param string $number the string that might contain a phone number
* @return string the number, stripped of any non-phone-number prefix (such as "Tel:") or an empty
* string if no character used to start phone numbers (such as + or any digit) is
* found in the number
Expand Down

0 comments on commit 3b22d4d

Please sign in to comment.