From 0e27a144cdeadc7b7d269713f5dbf201ce2b9b8f Mon Sep 17 00:00:00 2001 From: Martin Cech Date: Tue, 17 Apr 2018 11:09:00 -0400 Subject: [PATCH] php typo spotted by @mipapo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cfe210d..7aafa83 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ function is_disposable_email($email) { $path = realpath(dirname(__FILE__)) . '/disposable_email_blacklist.conf'; $mail_domains_ko = file($path, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); $mail_domains_ko = array_fill_keys($mail_domains_ko, true); - $domain = mb_strtolower(explode('@', trim($email))[1]) + $domain = mb_strtolower(explode('@', trim($email))[1]); return (isset($mail_domains_ko[$domain]) || array_key_exists($domain, $mail_domains_ko)); } ```