X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FDashboard.php;h=b343429cb792ea03f1a4e348d7cd8a40b1ea4567;hb=5d2d8718b77fcf6f74f48f15df7101c79115e975;hp=3dd06ea0f5a574265e5075394307e84b8ec52c80;hpb=a65f52b63ddf8b85bbf7abb98155fb2a9bf2a693;p=civicrm-core.git diff --git a/api/v3/Dashboard.php b/api/v3/Dashboard.php index 3dd06ea0f5..b343429cb7 100644 --- a/api/v3/Dashboard.php +++ b/api/v3/Dashboard.php @@ -31,7 +31,6 @@ * @package CiviCRM_APIv3 */ - /** * Creates or updates an Dashlet. * @@ -41,13 +40,12 @@ * 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'); }