diff --git a/app/code/local/HCG/MailChimp/Tags/ProcessMergeFields.php b/app/code/local/HCG/MailChimp/Tags/ProcessMergeFields.php index 2ac063792b..f6dcca4d51 100644 --- a/app/code/local/HCG/MailChimp/Tags/ProcessMergeFields.php +++ b/app/code/local/HCG/MailChimp/Tags/ProcessMergeFields.php @@ -24,7 +24,7 @@ static function p(array $data, bool $subscribe = false):void { $i->_setMailchimpTagsToCustomer(); } $sub = hcg_mc_sub($listId, $email); /** @var Sub $sub */ - # 2024-06-06 https://3v4l.org/HFAUZ + # 2024-06-06 "Use the «Symmetric array destructuring» PHP 7.1 feature": https://github.com/mage2pro/core/issues/379 [$fname, $lname] = [$i->mcByCA('firstname'), $i->mcByCA('lastname')]; /** @var string $fname */ /** @var string $lname */ if ($sub->getId()) { if ($sub->getStatus() != Sub::STATUS_SUBSCRIBED && $subscribe) {