Php cs fixes

This commit is contained in:
Pawel Wasiluk 2021-12-17 10:25:14 +01:00 committed by David Garcia
parent c3c3a9f01a
commit 48c527d04d

View File

@ -140,10 +140,10 @@ class Domain extends HttpApi
$params['pool_id'] = $poolId; $params['pool_id'] = $poolId;
} }
if (null !== $dkimKeySize) { if (!empty($dkimKeySize)) {
Assert::oneOf( Assert::oneOf(
$dkimKeySize, $dkimKeySize,
self::DKIM_SIZES, self::DKIM_SIZES,
'Length of your domains generated DKIM key must be 1024 or 2048' 'Length of your domains generated DKIM key must be 1024 or 2048'
); );
$params['dkim_key_size'] = $dkimKeySize; $params['dkim_key_size'] = $dkimKeySize;