(NFC) Unsubscribe - Placate PhpStorm
authorTim Otten <totten@civicrm.org>
Wed, 10 Jan 2024 20:43:06 +0000 (12:43 -0800)
committerTim Otten <totten@civicrm.org>
Fri, 12 Jan 2024 21:46:37 +0000 (13:46 -0800)
CRM/Mailing/Form/Unsubscribe.php

index f0a8e0d1f9d453cbd68d67b85ab90de0a1aeed48..6abca91f813df92ce399ea0c7a50d6edd725d1fc 100644 (file)
@@ -64,7 +64,7 @@ class CRM_Mailing_Form_Unsubscribe extends CRM_Core_Form {
       );
     }
 
-    list($displayName, $email) = CRM_Mailing_Event_BAO_MailingEventQueue::getContactInfo($queue_id);
+    [$displayName, $email] = CRM_Mailing_Event_BAO_MailingEventQueue::getContactInfo($queue_id);
     $this->assign('display_name', $displayName);
     $nameMasked = '';
     $names = explode(' ', $displayName);