From e29f3512514e921eed4a34336c312ff8189e4e6c Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Fri, 5 Apr 2019 13:13:25 -0700 Subject: [PATCH] (NFC) api/v3 - Update to pass new phpcs --- api/v3/Domain.php | 2 +- api/v3/Event.php | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/api/v3/Domain.php b/api/v3/Domain.php index 94e5c52a97..552121fbe1 100644 --- a/api/v3/Domain.php +++ b/api/v3/Domain.php @@ -85,7 +85,7 @@ function civicrm_api3_domain_get($params) { 'phone', $values['location']['phone'][1] ), - ]; + ]; } if (!empty($values['location']['address'])) { diff --git a/api/v3/Event.php b/api/v3/Event.php index 5bbb7dc7a3..dba0f7da46 100644 --- a/api/v3/Event.php +++ b/api/v3/Event.php @@ -255,11 +255,7 @@ function _civicrm_api3_event_getlist_output($result, $request) { 'id' => $row[$request['id_field']], 'label' => $row[$request['label_field']], 'description' => [ - CRM_Core_Pseudoconstant::getLabel( - 'CRM_Event_BAO_Event', - 'event_type_id', - $row['event_type_id'] - ), + CRM_Core_Pseudoconstant::getLabel('CRM_Event_BAO_Event', 'event_type_id', $row['event_type_id']), ], ]; if (!empty($row['start_date'])) { -- 2.25.1