Update to latest versions of polyfill-ctype and polyfill-iconv
[civicrm-core.git] / api / v3 / ActionSchedule.php
index 03b11a4290c2709a7595c16f81fc0de1548cfc31..6ad01642316327cc8b32a95b18206f1e20a9070a 100644 (file)
@@ -43,7 +43,6 @@ function civicrm_api3_action_schedule_get($params) {
   return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params, 'ActionSchedule');
 }
 
-
 /**
  * Create a new ActionSchedule.
  *
@@ -52,7 +51,7 @@ function civicrm_api3_action_schedule_get($params) {
  * @return array
  */
 function civicrm_api3_action_schedule_create($params) {
-  civicrm_api3_verify_one_mandatory($params, NULL, array('start_action_date', 'absolute_date'));
+  civicrm_api3_verify_one_mandatory($params, NULL, ['start_action_date', 'absolute_date']);
   if (!array_key_exists('name', $params) && !array_key_exists('id', $params)) {
     $params['name'] = CRM_Utils_String::munge($params['title']);
   }