From 48c527d04dd3346a24081b69d73b6e7a9be848fe Mon Sep 17 00:00:00 2001 From: Pawel Wasiluk Date: Fri, 17 Dec 2021 10:25:14 +0100 Subject: [PATCH] Php cs fixes --- src/Api/Domain.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Api/Domain.php b/src/Api/Domain.php index 9bb767b..393ea16 100644 --- a/src/Api/Domain.php +++ b/src/Api/Domain.php @@ -140,10 +140,10 @@ class Domain extends HttpApi $params['pool_id'] = $poolId; } - if (null !== $dkimKeySize) { + if (!empty($dkimKeySize)) { Assert::oneOf( - $dkimKeySize, - self::DKIM_SIZES, + $dkimKeySize, + self::DKIM_SIZES, 'Length of your domain’s generated DKIM key must be 1024 or 2048' ); $params['dkim_key_size'] = $dkimKeySize;