FIXED A BUG!

This commit is contained in:
Nyholm 2018-08-05 13:04:44 +02:00 committed by David Garcia
parent 0145ddd481
commit 94d0406bcc

View File

@ -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);
}