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; } /**