X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FMailingEventResubscribe.php;h=367a077b145b24cc37e1704083d669124d371b81;hb=2ed78b0072201efe1f57e910d1405c20fb242525;hp=0b73fe6e7e3f581b24cc339c2a54b49fe7b55a2c;hpb=eaf537d9b91fa5f2aa8b915fbf057bc657cce76f;p=civicrm-core.git diff --git a/api/v3/MailingEventResubscribe.php b/api/v3/MailingEventResubscribe.php index 0b73fe6e7e..367a077b14 100644 --- a/api/v3/MailingEventResubscribe.php +++ b/api/v3/MailingEventResubscribe.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2017 | + | Copyright CiviCRM LLC (c) 2004-2019 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -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, - ); + ]; }