* it is better to standardise to being here.
*
* @param int $invoiceId The ID to check.
- *
- * @param null $contributionID
+ * @param int|null $contributionID
* If a contribution exists pass in the contribution ID.
*
* @return bool
/**
* Get url for users to manage this recurring contribution for this processor.
*
- * @param int $entityID
- * @param null $entity
+ * @param int|null $entityID
+ * @param string|null $entity
* @param string $action
*
* @return string|null
}
$url = 'civicrm/contribute/updaterecur';
break;
+
+ default:
+ $url = '';
+ break;
}
$userId = CRM_Core_Session::singleton()->get('userID');