We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3753405 commit 882c1f7Copy full SHA for 882c1f7
LuhnAlgorithm.php
@@ -152,7 +152,7 @@ public function getCheckDigit() {
152
* @param string $string String to "convert" to integer
153
* @return string String containing only numbers
154
*/
155
- private static function toInteger($string) {
+ public static function toInteger($string) {
156
return preg_replace("/[^\d]/", "", $string);
157
}
158
0 commit comments