From 9939ee72b2c9ab08208019ce349ddf2afccf53c1 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Thu, 28 Apr 2016 23:52:41 +0300 Subject: [PATCH] Strict comparison --- src/TempMailBuster.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TempMailBuster.php b/src/TempMailBuster.php index 90fa9b5..d27308f 100644 --- a/src/TempMailBuster.php +++ b/src/TempMailBuster.php @@ -51,7 +51,7 @@ class TempMailBuster $blacklistRegex = $this->buildRegex($blacklist->getItems()); $match = !!preg_match($blacklistRegex, $domain); - if ($match == $this->isWhitelistMode) { + if ($match === $this->isWhitelistMode) { return !$this->isWhitelistMode; }