From f58c5914aefa16fa6ed2b5cf9ee84d40cbda1b3a Mon Sep 17 00:00:00 2001 From: maximzasorin Date: Tue, 20 Jun 2017 22:56:09 +0300 Subject: [PATCH] Fix DNS record validation (#365) --- src/Mailgun/Model/Domain/DnsRecord.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mailgun/Model/Domain/DnsRecord.php b/src/Mailgun/Model/Domain/DnsRecord.php index 6d90f7a..b6eb914 100644 --- a/src/Mailgun/Model/Domain/DnsRecord.php +++ b/src/Mailgun/Model/Domain/DnsRecord.php @@ -110,7 +110,7 @@ final class DnsRecord */ public function isValid() { - return 'valid' === $this->value; + return 'valid' === $this->valid; } /**