Short array syntax - auto-convert api dir
[civicrm-core.git] / api / v3 / Generic / Getunique.php
index 23eed7dfce79372f8ff683297cbf24dfcb05fefc..56c83a89e7c0c335bd688b38795887cbf253e1cf 100644 (file)
@@ -38,7 +38,7 @@
  */
 function civicrm_api3_generic_getunique($apiRequest) {
   $entity = _civicrm_api_get_entity_name_from_camel($apiRequest['entity']);
-  $uniqueFields = array();
+  $uniqueFields = [];
 
   $dao = _civicrm_api3_get_DAO($entity);
   $uFields = $dao::indices();