From 94d0406bcc37554f577c0157dc71072bfa182bad Mon Sep 17 00:00:00 2001 From: Nyholm Date: Sun, 5 Aug 2018 13:04:44 +0200 Subject: [PATCH] FIXED A BUG! --- src/Mailgun/Model/Domain/UpdateConnectionResponse.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mailgun/Model/Domain/UpdateConnectionResponse.php b/src/Mailgun/Model/Domain/UpdateConnectionResponse.php index a82a066..c425368 100644 --- a/src/Mailgun/Model/Domain/UpdateConnectionResponse.php +++ b/src/Mailgun/Model/Domain/UpdateConnectionResponse.php @@ -39,8 +39,8 @@ final class UpdateConnectionResponse implements ApiResponse public static function create(array $data) { $message = isset($data['message']) ? $data['message'] : null; - $noVerify = isset($data['skip_verification']) ? $data['skip_verification'] : null; - $requireTLS = isset($data['require_tls']) ? $data['require_tls'] : null; + $noVerify = isset($data['skip-verification']) ? $data['skip-verification'] : null; + $requireTLS = isset($data['require-tls']) ? $data['require-tls'] : null; return new self($message, $noVerify, $requireTLS); }