diff --git a/src/Endpoints/CustomHostnames.php b/src/Endpoints/CustomHostnames.php index 811b833..6d6733c 100644 --- a/src/Endpoints/CustomHostnames.php +++ b/src/Endpoints/CustomHostnames.php @@ -64,15 +64,15 @@ class CustomHostnames implements API $options['custom_origin_server'] = $customOriginServer; } - if (empty($bundleMethod) === false) { + if (!empty($bundleMethod)) { $options['ssl']['bundle_method'] = $bundleMethod; } - if (empty($customKey) === false) { + if (!empty($customKey)) { $options['ssl']['custom_key'] = $customKey; } - if (empty($customCertificate) === false) { + if (!empty($customCertificate)) { $options['ssl']['custom_certificate'] = $customCertificate; }