[NFC] Minor code cleanup
[civicrm-core.git] / CRM / Contact / BAO / Contact.php
index 2f7727a35ea71c46d205faf735c765b5c295f6ba..ba35d3818d236cae72f215dba8751ef171858808 100644 (file)
@@ -244,9 +244,10 @@ class CRM_Contact_BAO_Contact extends CRM_Contact_DAO_Contact {
    * @return CRM_Contact_BAO_Contact|CRM_Core_Error
    *   Created or updated contribution object. We are deprecating returning an error in
    *   favour of exceptions
-   * @throws Exception
-   * @todo explain this parameter
    *
+   * @throws \CRM_Core_Exception
+   * @throws \CiviCRM_API3_Exception
+   * @throws \Civi\API\Exception\UnauthorizedException
    */
   public static function &create(&$params, $fixAddress = TRUE, $invokeHooks = TRUE, $skipDelete = FALSE) {
     $contact = NULL;