Merge pull request #14827 from deepak-srivastava/case-summary-report-case-type-filter
[civicrm-core.git] / api / v3 / ContactType.php
index 4c67674d3d8bb2607640c883434644b777282b03..709bb9e2fa4fa73dec4cd4af7e2e2bf342fff8b5 100644 (file)
@@ -49,7 +49,7 @@
  *   ContactType array
  */
 function civicrm_api3_contact_type_create($params) {
-  civicrm_api3_verify_mandatory($params, _civicrm_api3_get_DAO(__FUNCTION__), array('name', 'parent_id'));
+  civicrm_api3_verify_mandatory($params, _civicrm_api3_get_DAO(__FUNCTION__), ['name', 'parent_id']);
 
   if (empty($params['id'])) {
     if (!array_key_exists('label', $params)) {