* The type of operation being performed.
* @param string $objectName
* The name of the object.
- * @param int $id
+ * @param int|null $id
* The object id if available.
* @param array $params
* The parameters used for object creation / editing.
* inserted in civicrm_financial_trxn table
*
* @param array $deferredRevenues
- *
- * @param array $contributionDetails
- *
+ * @param CRM_Contribute_BAO_Contribution $contributionDetails
* @param bool $update
- *
* @param string $context
*
* @return mixed