Merge pull request #14827 from deepak-srivastava/case-summary-report-case-type-filter
[civicrm-core.git] / api / v3 / ContactType.php
index 67506888930706e03d0afb4436e93977fad0a731..709bb9e2fa4fa73dec4cd4af7e2e2bf342fff8b5 100644 (file)
@@ -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.                                    |
  |                                                                    |
@@ -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)) {