Merge pull request #15705 from eileenmcnaughton/refund_fix
[civicrm-core.git] / api / v3 / MailingEventResubscribe.php
index 29a01035b0ae11d3e88881f59ef439398d3b1268..367a077b145b24cc37e1704083d669124d371b81 100644 (file)
@@ -68,19 +68,19 @@ function civicrm_api3_mailing_event_resubscribe_create($params) {
  *   Array of parameters determined by getfields.
  */
 function _civicrm_api3_mailing_event_resubscribe_create_spec(&$params) {
-  $params['event_queue_id'] = array(
+  $params['event_queue_id'] = [
     'api.required' => 1,
     'title' => 'Event Queue ID',
     'type' => CRM_Utils_Type::T_INT,
-  );
-  $params['job_id'] = array(
+  ];
+  $params['job_id'] = [
     'api.required' => 1,
     'title' => 'Job ID',
     'type' => CRM_Utils_Type::T_INT,
-  );
-  $params['hash'] = array(
+  ];
+  $params['hash'] = [
     'api.required' => 1,
     'title' => 'Hash',
     'type' => CRM_Utils_Type::T_STRING,
-  );
+  ];
 }