@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | |
| 174 | 174 | /** |
| 175 | 175 | * The Current value is not yet suppoerted, typically it greater than the supported values |
| 176 | - * @param string $value the invalid number |
|
| 176 | + * @param string $number |
|
| 177 | 177 | * @return string |
| 178 | 178 | */ |
| 179 | 179 | private static function notSupported($number): string |
@@ -183,7 +183,7 @@ discard block |
||
| 183 | 183 | |
| 184 | 184 | /** |
| 185 | 185 | * [validateNumber description] |
| 186 | - * @param [type] $value [description] |
|
| 186 | + * @param string $number |
|
| 187 | 187 | * @return [type] [description] |
| 188 | 188 | */ |
| 189 | 189 | private static function validateNumber($number) |
@@ -200,6 +200,10 @@ discard block |
||
| 200 | 200 | // Invalid number TODO: Allow negative numbers |
| 201 | 201 | } |
| 202 | 202 | |
| 203 | + /** |
|
| 204 | + * @param string $number |
|
| 205 | + * @param integer[] $range |
|
| 206 | + */ |
|
| 203 | 207 | private static function validateRange($number, $range) |
| 204 | 208 | { |
| 205 | 209 | if ((int)$number < $range[0] || (int)$number > $range[1]) |