Skip to content

Commit 00e382c

Browse files
committed
Egn class: Fixing bugs, wrong method name.
Signed-off-by:Ivan Tcholakov <[email protected]>
1 parent 3300e81 commit 00e382c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Egn.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ public static function generate($day = 0, $mon = 0, $year = 0, $sex = 0, $region
337337

338338
public static function get_gender($string) {
339339

340-
if (self::is_forigner($string)) {
340+
if (self::is_foreigner($string)) {
341341
return null;
342342
}
343343

@@ -352,7 +352,7 @@ public static function get_gender($string) {
352352

353353
public static function get_birthday($string) {
354354

355-
if (self::is_forigner($string)) {
355+
if (self::is_foreigner($string)) {
356356
return null;
357357
}
358358

0 commit comments

Comments
 (0)