From: eileen Date: Tue, 3 Sep 2019 01:47:36 +0000 (+1200) Subject: [NFC] comment fixes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=cfd0c4dda00b694aa769b9aa95b90eb42a6d4d07;p=civicrm-core.git [NFC] comment fixes --- diff --git a/CRM/Event/BAO/Event.php b/CRM/Event/BAO/Event.php index e77244bef1..1faee23279 100644 --- a/CRM/Event/BAO/Event.php +++ b/CRM/Event/BAO/Event.php @@ -948,6 +948,7 @@ WHERE civicrm_event.is_active = 1 $blockCopyOfCustomValue = (!empty($params['custom'])); + /** @var \CRM_Event_DAO_Event $copyEvent */ $copyEvent = CRM_Core_DAO::copyGeneric('CRM_Event_DAO_Event', ['id' => $id], // since the location is sharable, lets use the same loc_block_id. diff --git a/api/v3/Event.php b/api/v3/Event.php index b3dbd7adcd..8f30864e46 100644 --- a/api/v3/Event.php +++ b/api/v3/Event.php @@ -40,6 +40,8 @@ * * @return array * API result Array. + * @throws \CRM_Core_Exception + * @throws \API_Exception */ function civicrm_api3_event_create($params) { // Required fields for creating an event