Merge pull request #14898 from eileenmcnaughton/export_rel
[civicrm-core.git] / api / v3 / Dashboard.php
index 3dd06ea0f5a574265e5075394307e84b8ec52c80..b343429cb792ea03f1a4e348d7cd8a40b1ea4567 100644 (file)
@@ -31,7 +31,6 @@
  * @package CiviCRM_APIv3
  */
 
-
 /**
  * Creates or updates an Dashlet.
  *
  *   Array containing 'is_error' to denote success or failure and details of the created activity
  */
 function civicrm_api3_dashboard_create($params) {
-  civicrm_api3_verify_one_mandatory($params, NULL, array(
-      'name',
-      'label',
-      'url',
-      'fullscreen_url',
-    )
-  );
+  civicrm_api3_verify_one_mandatory($params, NULL, [
+    'name',
+    'label',
+    'url',
+    'fullscreen_url',
+  ]);
   return _civicrm_api3_basic_create(_civicrm_api3_get_BAO(__FUNCTION__), $params, 'Dashboard');
 }