*
* @throws \CiviCRM_API3_Exception
*/
- public static function postProcess($params = [], $type, $linkedEntities = []) {
+ public static function postProcess($params, $type, $linkedEntities = []) {
// Check entity_id not present in params take it from class variable
if (empty($params['entity_id'])) {
$params['entity_id'] = self::$_entityId;
*
* @return int|null
*/
- public static function getContactID($email, $name = NULL, $create = TRUE, &$mail) {
+ public static function getContactID($email, $name, $create, &$mail) {
$dao = CRM_Contact_BAO_Contact::matchContactOnEmail($email, 'Individual');
$contactID = NULL;