Skip to content

Commit

Permalink
Update Codes.php
Browse files Browse the repository at this point in the history
  • Loading branch information
nimasdj committed Dec 15, 2015
1 parent 9b8e7ea commit fef0c91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Codes.php
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ public static function phoneCode($code)
return (isset(static::$phoneCodes[strtoupper($code)])) ? static::$phoneCodes[strtoupper($code)] : 'N/A';
}

public static function continents($code)
public static function continent($code)
{
return (isset(static::$continents[strtoupper($code)])) ? static::$continents[strtoupper($code)] : 'Invalid Code';
}
Expand Down

0 comments on commit fef0c91

Please sign in to comment.