Skip to content

Commit

Permalink
convert isBlacklisted method in public to be able to use library with…
Browse files Browse the repository at this point in the history
…out email pattern checking
  • Loading branch information
José Carlos committed Mar 6, 2018
1 parent c193518 commit c97f3f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/php/MailChecker.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ private static function validEmail($email) {
}
}

private static function isBlacklisted($email) {
public static function isBlacklisted($email) {
$parts = explode("@", $email);
$domain = end($parts);

Expand Down

0 comments on commit c97f3f1

Please sign in to comment.