mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-25 06:16:03 +03:00
FIXED A BUG!
This commit is contained in:
parent
0145ddd481
commit
94d0406bcc
@ -39,8 +39,8 @@ final class UpdateConnectionResponse implements ApiResponse
|
|||||||
public static function create(array $data)
|
public static function create(array $data)
|
||||||
{
|
{
|
||||||
$message = isset($data['message']) ? $data['message'] : null;
|
$message = isset($data['message']) ? $data['message'] : null;
|
||||||
$noVerify = isset($data['skip_verification']) ? $data['skip_verification'] : null;
|
$noVerify = isset($data['skip-verification']) ? $data['skip-verification'] : null;
|
||||||
$requireTLS = isset($data['require_tls']) ? $data['require_tls'] : null;
|
$requireTLS = isset($data['require-tls']) ? $data['require-tls'] : null;
|
||||||
|
|
||||||
return new self($message, $noVerify, $requireTLS);
|
return new self($message, $noVerify, $requireTLS);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user